Add a check of the current behaviour importing duplicates
[cabal.git] / cabal-testsuite / PackageTests / MultiRepl / EnabledBadClosure / cabal.test.hs
blob3f86e566dfa23afc24be533ff9c61146290dd7b5
1 import Test.Cabal.Prelude
3 main = do
4 cabalTest $ recordMode DoNotRecord $ do
5 skipUnlessAnyCabalVersion "< 3.11"
6 -- Note: only the last package is interactive.
7 -- this test should load pkg-b too.
8 res <- fails $ cabalWithStdin "v2-repl" ["--enable-multi-repl","pkg-c", "pkg-a"] "Quu.quu"
10 assertOutputContains "constraint from --enable-multi-repl requires >=3.11" res