File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,16 @@ final class ReversePaginationTests: XCTestCase, CacheDependentTesting {
102
102
data.hero.friendsConnection.friends equal: \( first? . data? . hero. friendsConnection. friends == last? . data? . hero. friendsConnection. friends)
103
103
data.hero.friendsConnection.pageInfo equal: \( first? . data? . hero. friendsConnection. pageInfo == last? . data? . hero. friendsConnection. pageInfo)
104
104
""" )
105
+ if first != last {
106
+ print ( """
107
+ first as JSON:
108
+ \( first? . asJSONDictionary ( ) )
109
+ last as JSON:
110
+ \( last? . asJSONDictionary ( ) )
111
+ """ )
112
+ } else {
113
+ print ( " THEY'RE EQUAL!!!! " )
114
+ }
105
115
XCTAssertEqual ( try ? results. first? . get ( ) . initialPage, try ? results. last? . get ( ) . initialPage)
106
116
107
117
XCTAssertFalse ( output. previousPages. isEmpty)
You can’t perform that action at this time.
0 commit comments