Skip to content
Snippets Groups Projects
Commit 4e6f2387 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Merge pull request #2665 from grayjay/cabal-exec-error-message-test

Test cabal exec error message in a more portable way
parents b9d1a659 99a9611f
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ assertMyExecutableNotFound paths = do
result <- cabal_exec paths dir ["my-executable"]
assertExecFailed result
let output = outputText result
expected = "cabal: The program 'my-executable' is required but it " ++
expected = "The program 'my-executable' is required but it " ++
"could not be found"
errMsg = "should not have found a my-executable\n" ++ output
assertBool errMsg $
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment