Skip to content

Commit db3849f

Browse files
andorpAnabra
andauthored
Update grin/test/LintSpec.hs
Co-Authored-By: Peter Podlovics <peter.d.podlovics@gmail.com>
1 parent 6ac09ec commit db3849f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

grin/test/LintSpec.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,8 @@ spec = do
242242
it "disregards variable patterns" $ do
243243
let program = [prog|
244244
main =
245-
n0 <- pure (CInt 0)
245+
k0 <- pure 0
246+
n0 <- pure (CInt k0)
246247
n1 <- case n0 of
247248
(CInt c0) -> pure n0
248249
(CFloat c1) ->

0 commit comments

Comments
 (0)