Skip to content

Add some snapshot tests for ASTextNode2 truncation modes.#1296

Merged
nguyenhuy merged 6 commits into
TextureGroup:masterfrom
wiseoldduck:text-snapshots
Jan 17, 2019
Merged

Add some snapshot tests for ASTextNode2 truncation modes.#1296
nguyenhuy merged 6 commits into
TextureGroup:masterfrom
wiseoldduck:text-snapshots

Conversation

@wiseoldduck

Copy link
Copy Markdown
Member

Should have added these sooner, looks like there is a regression in NSLineBreakModeMiddle :-(

@maicki maicki left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wiseoldduck Except some small styling nits looks good to me. Thanks for adding these and really necessary to keep meeting our high standards of the framework.

Comment thread Tests/ASTextNode2SnapshotTests.mm Outdated
Comment thread Tests/ASTextNode2SnapshotTests.mm Outdated
Comment thread Tests/ASTextNode2SnapshotTests.mm Outdated
Comment thread Tests/ASTextNode2SnapshotTests.mm Outdated
Comment thread Tests/ASTextNode2SnapshotTests.mm Outdated

@nguyenhuy nguyenhuy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question aside, LGTM overall. Thank you for adding these tests!

Comment thread Tests/ASTextNode2SnapshotTests.mm Outdated
@ghost

ghost commented Dec 22, 2018

Copy link
Copy Markdown

🚫 CI failed with log

@nguyenhuy

Copy link
Copy Markdown
Member

Time to merge. Thanks, @wiseoldduck!

@nguyenhuy
nguyenhuy merged commit 9428fd4 into TextureGroup:master Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants