1 import Test
.Cabal
.Prelude
4 cwd
<- fmap testCurrentDir getTestEnv
7 cabal
"init" ["-n", "--exe", "-p", "app", "--application-dir=app", "--main-is=Main.hs", "--cabal-version=1.24"]
11 assertFileDoesContain
(cwd
</> "app.cabal") "1.24"
12 assertFileDoesContain
(cwd
</> "app.cabal") "Simple"
13 assertFileDoesNotContain
(cwd
</> "app.cabal") "^>="
14 assertFileDoesContain
(cwd
</> "app/Main.hs") "This should remain as is!"
15 assertOutputContains
"Linking" buildOut