Skip to content

Commit

Permalink
tweak test for list comprehension
Browse files Browse the repository at this point in the history
  • Loading branch information
itchyny committed May 20, 2017
1 parent 434a30a commit 3f1a9c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/list/comprehension_multi_line3.in.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ isPrime n ]
y = [ n * n
| n <- [1..],
even n,
isPrime (n `div` 2) ]
let z = n,
isPrime (z `div` 2) ]
3 changes: 2 additions & 1 deletion test/list/comprehension_multi_line3.out.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ z = (x, y)
y = [ n * n
| n <- [1..],
even n,
isPrime (n `div` 2) ]
let z = n,
isPrime (z `div` 2) ]

0 comments on commit 3f1a9c0

Please sign in to comment.