Skip to content
Snippets Groups Projects
Commit d3b69bd6 authored by BasLaa's avatar BasLaa Committed by Mergify
Browse files

Add executable in RTS warning test

parent cc290f07
No related branches found
No related tags found
No related merge requests found
......@@ -2,11 +2,11 @@ import Test.Cabal.Prelude
main = cabalTest $ do
-- your test code here
res <- cabal' "run" ["+RTS"]
res <- cabal' "run" ["foo", "+RTS"]
assertOutputContains "Warning" res
res <- cabal' "run" [ "+RTS", "--"]
res <- cabal' "run" ["foo", "+RTS", "--"]
assertOutputContains "Warning" res
res <- cabal' "run" [ "--", "+RTS"]
res <- cabal' "run" ["foo", "--", "+RTS"]
assertOutputDoesNotContain "Warning" res
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