git.iko.soy/typeable/file-embed
on master help sign in
Fix CRLF test on Windows
commit0c33a1df6532f137fd4818b6f3567a1ed3ea4cf0 authorMichael Snoyman <michael@snoyman.com> dateTue 24 Jul 2018, 11:28 (8 years ago) parentd5cf23d
1 file changed+1−1
test/main.hs+1−1
test/main.hs+1−1
@@ -18,4 +18,4 @@ main = do
1818 , ("bar" </> "baz", "baz\r\n")
1919 ]
2020 let str = $(embedStringFile "test/sample/foo") :: String
21− str @?= "foo\r\n"
21+ filter (/= '\r') str @?= "foo\n"