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

[Tests] Add test scrollToPageAtIndex ASPagerNode #629

Merged
merged 2 commits into from
Oct 24, 2017

Conversation

remirobert
Copy link
Contributor

Tiny PR to add test scrollToPageAtIndex for the ASPagerNode

@remirobert remirobert changed the title Add test scrollToPageAtIndex ASPagerNode [Tests] Add test scrollToPageAtIndex ASPagerNode Oct 22, 2017
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.

Thanks for the contribution! Small nit and we're good to go!

@@ -90,6 +90,14 @@ - (void)testPagerReturnsNotFoundForCellThatDontExistInPager {
XCTAssertEqual([testController.pagerNode indexOfPageWithNode:badNode], NSNotFound);
}

- (void)testScrollPageToIndex {
Copy link
Member

Choose a reason for hiding this comment

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

Per our project convention, please put the bracket on a new line.

While on it, please also update other methods to follow the same rule.

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.

Awesome. Thank you!

@nguyenhuy nguyenhuy merged commit 128700f into TextureGroup:master Oct 24, 2017
bernieperez pushed a commit to AtomTickets/Texture that referenced this pull request Apr 25, 2018
* add scrollToPageAtIndex for the ASPagerNode

* update convention code
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

2 participants