1 import Test
.Cabal
.Prelude
2 main
= setupAndCabalTest
$ do
3 skipUnlessGhcVersion
">= 8.1"
5 r
<- fails
$ setup
' "build" []
6 assertRegex
"error should be in B.hs" "^B.hs:" r
7 assertRegex
"error should be \"Could not find module Data.Set\""
8 "(Could not (load|find) module|Failed to load interface).*Data.Set" r