Skip to content

Commit c350f8d

Browse files
committed
Remove unused value in intersectionWith test
1 parent b8af9ab commit c350f8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Test/Data/Map.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ mapTests = do
233233
quickCheck $ \(TestMap m1) (TestMap m2) -> ((m1 :: M.Map SmallKey Int) `M.intersection` m2) == ((m1 `M.intersection` m2) `M.intersection` (m2 :: M.Map SmallKey Int))
234234

235235
log "intersectionWith"
236-
for_ [Tuple (+) 0, Tuple (*) 1] $ \(Tuple op ident) ->
236+
for_ [(+), (*)] $ \op ->
237237
quickCheck $ \(TestMap m1) (TestMap m2) k ->
238238
let u = M.intersectionWith op m1 m2 :: M.Map SmallKey Int
239239
in case M.lookup k u of

0 commit comments

Comments
 (0)