File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Tests/OpenAttributeGraphCompatibilityTests/Graph Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -90,11 +90,11 @@ struct SubgraphCompatibilityTests {
9090 #expect( subgraph. childCount == 1 )
9191 #expect( subgraph. isAncestor ( of: child) == true )
9292
93- #expect( subgraph. child ( at: 0 , tag: nil ) == child)
94-
93+ #expect( subgraph. child ( at: 0 , tag: nil ) === child)
94+
9595 #expect( child. parentCount == 1 )
96- #expect( child. parent ( at: 0 ) == subgraph)
97-
96+ #expect( child. parent ( at: 0 ) === subgraph)
97+
9898 #expect( 1 == 2 )
9999 }
100100
@@ -109,11 +109,11 @@ struct SubgraphCompatibilityTests {
109109 #expect( subgraph. isAncestor ( of: child) == true )
110110
111111 var tag = 0
112- #expect( subgraph. child ( at: 0 , tag: & tag) == child)
112+ #expect( subgraph. child ( at: 0 , tag: & tag) === child)
113113 #expect( tag == 1 )
114114
115115 #expect( child. parentCount == 1 )
116- #expect( child. parent ( at: 0 ) == subgraph)
116+ #expect( child. parent ( at: 0 ) === subgraph)
117117 }
118118
119119 @Test
You can’t perform that action at this time.
0 commit comments