1 import Test
.Cabal
.Prelude
2 -- Test that internal library is preferred to an installed on
3 -- with the same name and LATER version
4 main
= setupAndCabalTest
. withPackageDb
$ do
5 withDirectory
"to-install" $ setup_install
[]
7 r
<- runExe
' "lemon" []
9 ("executable should have linked with the internal library")
10 ("foo foo myLibFunc internal")
11 (concatOutput
(resultOutput r
))