Skip to content

Commit 81c5871

Browse files
Update test/Constrained/GraphSpec.hs
Co-authored-by: Joosep Jääger <[email protected]>
1 parent ecf496e commit 81c5871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Constrained/GraphSpec.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ prop_subtract_keeps_nodes g g' = nodes (subtractGraph g g') === nodes g
4545

4646
prop_subtract_removes_edges :: Graph Node -> Graph Node -> Node -> Node -> Property
4747
prop_subtract_removes_edges g g' x y =
48-
property $ not (dependsOn x y (subtractGraph g $ dependency x (Set.singleton y) <> g'))
48+
property $ not (dependsOn x y (subtractGraph (dependency x (Set.singleton y) <> g) $ dependency x (Set.singleton y) <> g'))
4949

5050
prop_union_commutes :: Graph Node -> Graph Node -> Property
5151
prop_union_commutes g g' = g <> g' === g' <> g

0 commit comments

Comments
 (0)