Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
94cfc704
Commit
94cfc704
authored
Feb 14, 2016
by
kristenk
Browse files
Handle "\r\n" in internal library package tests (fixes #3147)
parent
e8023901
Changes
2
Hide whitespace changes
Inline
Side-by-side
Cabal/tests/PackageTests/PackageTester.hs
View file @
94cfc704
...
...
@@ -46,6 +46,7 @@ module PackageTests.PackageTester
,
assertOutputContains
,
assertOutputDoesNotContain
,
assertFindInFile
,
concatOutput
,
getPersistBuildConfig
...
...
Cabal/tests/PackageTests/Tests.hs
View file @
94cfc704
...
...
@@ -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
)
(
concat
Output
(
resultOutput
r
))
tc
::
FilePath
->
TestM
a
->
TestTree
tc
=
testCase
config
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment