File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ pInsertLookupWithKeyValueStrict f k v m
90
90
-- also https://github.com/haskell/containers/issues/473
91
91
92
92
pFromAscListLazy :: [Int ] -> Bool
93
- pFromAscListLazy ks = not . isBottom $ M . fromAscList elems
93
+ pFromAscListLazy ks = not . isBottom $ L . fromAscList elems
94
94
where
95
95
elems = [(k, v) | k <- nubInt ks, v <- [undefined , () ]]
96
96
@@ -132,7 +132,7 @@ tExtraThunksM = testGroup "IntMap.Strict - extra thunks" $
132
132
msg = " too lazy -- expected fully evaluated ()"
133
133
134
134
tExtraThunksL :: Test
135
- tExtraThunksL = testGroup " IntMap.Strict - extra thunks" $
135
+ tExtraThunksL = testGroup " IntMap.Lazy - extra thunks" $
136
136
if not isUnitSupported then [] else
137
137
-- for lazy maps, the *With functions should leave `const () ()` thunks,
138
138
-- but the other functions should produce fully evaluated ().
@@ -147,7 +147,7 @@ tExtraThunksL = testGroup "IntMap.Strict - extra thunks" $
147
147
]
148
148
where
149
149
m0 = L. singleton 42 ()
150
- check :: TestName -> Bool -> IntMap () -> Test
150
+ check :: TestName -> Bool -> L. IntMap () -> Test
151
151
check n e m = testCase n $ case L. lookup 42 m of
152
152
Just v -> assertBool msg (e == isUnit v)
153
153
_ -> assertString " key not found"
You can’t perform that action at this time.
0 commit comments