1 import Test
.Cabal
.Prelude
2 main
= setupAndCabalTest
$ do
3 skipUnlessGhcVersion
">= 8.1"
5 r
<- fails
$ setup
' "build" []
6 assertOutputContains
"Foobar" r
8 "error should be about not being able to find a module"
9 "Could not (find|load) module"