git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
[psc-ide] Fixes tests on windows

On my local windows machine \r characters were not removed by Text.lines

commite9176bd6b9ce9db28e324f236b43243357d89db8 authorkRITZCREEK <christoph.hegemann1337@gmail.com> dateSun 1 Jan 2017, 13:57 (10 years ago) parent914481c
1 file changed+1−1
tests/Language/PureScript/Ide/Imports/IntegrationSpec.hs+1−1
tests/Language/PureScript/Ide/Imports/IntegrationSpec.hs+1−1
@@ -28,7 +28,7 @@ outputFileShouldBe :: [Text] -> IO ()
2828outputFileShouldBe expectation = do
2929 outFp <- (</> "src" </> "ImportsSpecOut.tmp") <$> Integration.projectDirectory
3030 outRes <- readUTF8FileT outFp
31− shouldBe (T.lines outRes) expectation
31+ shouldBe (T.strip <$> T.lines outRes) expectation
3232
3333spec :: Spec
3434spec = beforeAll_ setup . describe "Adding imports" $ do