on master help sign in
Better test file ignoring
commite5310cec3c87da950f097105158e599008e3fd70 authorMichael Snoyman <michael@snoyman.com> dateWed 10 Jan 2018, 06:03 (9 years ago) parent6fc6b5c
2 files changed+4−3
.gitignore+1 test/Data/YamlSpec.hs+3−3
.gitignore+1
@@ -5,3 +5,4 @@ cabal-dev/
55cabal.sandbox.config
66.stack-work/
77*~
8+test/resources/unicode
test/Data/YamlSpec.hs+3−3
@@ -338,11 +338,11 @@ caseEncodeDecodeNonAsciiFileData = do
338338 out1 <- D.decodeFile "accenté/bar.yaml"
339339 out1 @?= Just mySample
340340
341− createDirectoryIfMissing True "test/resources/accenté/"
341+ createDirectoryIfMissing True "test/resources/unicode/accenté/"
342342
343343 readFile "test/resources/accent/foo.yaml" >>=
344− writeFile "test/resources/accenté/foo.yaml"
345− out2 <- D.decodeFile "test/resources/accenté/foo.yaml"
344+ writeFile "test/resources/unicode/accenté/foo.yaml"
345+ out2 <- D.decodeFile "test/resources/unicode/accenté/foo.yaml"
346346 out2 @?= Just mySample
347347
348348caseEncodeDecodeStrings :: Assertion