Commit 94cfc704 authored by kristenk's avatar kristenk
Browse files

Handle "\r\n" in internal library package tests (fixes #3147)

parent e8023901
......@@ -46,6 +46,7 @@ module PackageTests.PackageTester
, assertOutputContains
, assertOutputDoesNotContain
, assertFindInFile
, concatOutput
, getPersistBuildConfig
......
......@@ -238,8 +238,8 @@ nonSharedLibTests config =
r <- runExe' "lemon" []
assertEqual
("executable should have linked with the " ++ expect ++ " library")
("foofoomyLibFunc " ++ expect)
(concat $ lines (resultOutput r))
("foo foo myLibFunc " ++ expect)
(concatOutput (resultOutput r))
tc :: FilePath -> TestM a -> TestTree
tc = testCase config
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment