We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1385430 commit fa5b87aCopy full SHA for fa5b87a
test/Main.purs
@@ -138,7 +138,7 @@ main = do
138
139
log "fromFoldable (a <> b) = fromFoldable a <> fromFoldable b"
140
quickCheck' 1000 \ a (b :: Array (Tuple CollidingInt String)) ->
141
- HashMap.fromFoldable (a <> b) === HashMap.fromFoldable a <> HashMap.fromFoldable b
+ HashMap.fromFoldable (A.nubBy (\x y -> fst x `compare` fst y) (a <> b)) === HashMap.fromFoldable a <> HashMap.fromFoldable b
142
143
log "map id = id"
144
quickCheck \ (a :: Array (Tuple CollidingInt Boolean)) ->
0 commit comments