Permalink
Browse files

Fix a CR test failure

  • Loading branch information...
1 parent 954f813 commit 1bc1ef5a35e0fae15ee990fa1876cdc91a2fc4e3 @snoyberg snoyberg committed Feb 7, 2017
Showing with 2 additions and 1 deletion.
  1. +2 −1 yesod-static/test/FileGeneratorTests.hs
@@ -78,7 +78,8 @@ fileGenSpecs = do
describe "Compress" $ do
it "compress tool function" $ do
out <- compressTool "runhaskell" [] "main = putStrLn \"Hello World\""
- assertEqual "" "Hello World\n" out
+ -- 13 == CR, to make this test work on Windows
+ BL.filter (/= 13) out `shouldBe` "Hello World\n"
it "tryCompressTools" $ do
out <- flip tryCompressTools "abcdef"

0 comments on commit 1bc1ef5

Please sign in to comment.