Skip to content

Commit

Permalink
Correct test: the tested function is not actually used!
Browse files Browse the repository at this point in the history
  • Loading branch information
igrep committed Dec 22, 2019
1 parent 9e698ae commit 0eb1348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Spec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec =
\a b -> let v = a :@\& b in read (ushow v) `shouldBe` v

prop "read . ushow == id, for some crazy Unicode type" $
\a b -> let v = a :@\& b in read (show v) `shouldBe` v
\a b -> let v = a :@\& b in read (ushow v) `shouldBe` v

prop "read . ushow == id, for compound type" $
\str -> read (ushow str) `shouldBe` (str :: Either [String] (String,String))
Expand Down

0 comments on commit 0eb1348

Please sign in to comment.