Skip to content

Commit fa5b87a

Browse files
committed
Fix broken test
1 parent 1385430 commit fa5b87a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Main.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ main = do
138138

139139
log "fromFoldable (a <> b) = fromFoldable a <> fromFoldable b"
140140
quickCheck' 1000 \ a (b :: Array (Tuple CollidingInt String)) ->
141-
HashMap.fromFoldable (a <> b) === HashMap.fromFoldable a <> HashMap.fromFoldable b
141+
HashMap.fromFoldable (A.nubBy (\x y -> fst x `compare` fst y) (a <> b)) === HashMap.fromFoldable a <> HashMap.fromFoldable b
142142

143143
log "map id = id"
144144
quickCheck \ (a :: Array (Tuple CollidingInt Boolean)) ->

0 commit comments

Comments
 (0)