Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some snapshot tests for ASTextNode2 truncation modes. #1296

Merged
merged 6 commits into from
Jan 17, 2019

Conversation

wiseoldduck
Copy link
Member

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

Copy link
Contributor

@maicki maicki left a comment

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.

Tests/ASTextNode2SnapshotTests.mm Outdated Show resolved Hide resolved
Tests/ASTextNode2SnapshotTests.mm Outdated Show resolved Hide resolved
Tests/ASTextNode2SnapshotTests.mm Outdated Show resolved Hide resolved
Tests/ASTextNode2SnapshotTests.mm Outdated Show resolved Hide resolved
Tests/ASTextNode2SnapshotTests.mm Outdated Show resolved Hide resolved
Copy link
Member

@nguyenhuy nguyenhuy left a comment

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!

Tests/ASTextNode2SnapshotTests.mm Outdated Show resolved Hide resolved
@ghost
Copy link

ghost commented Dec 22, 2018

🚫 CI failed with log

@nguyenhuy
Copy link
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.

None yet

3 participants