on iko/ghcjs-patch-master help sign in
tests: Add a test case for the shellFor hoogle index
commit2cbfbac176d8705ac9f95ca7819e3c30ae15e60a authorRodney Lorrimar <rodney.lorrimar@iohk.io> dateSun 26 May 2019, 16:55 (7 years ago) parentc69cf9e
1 file changed+7
test/tests.sh+7
test/tests.sh+7
@@ -61,4 +61,11 @@ nix-shell $NIX_BUILD_ARGS \
6161 --run 'cd shell-for && cabal new-build all'
6262echo >& 2
6363
64+printf "*** Checking shellFor has a working hoogle index...\n" >& 2
65+nix-shell $NIX_BUILD_ARGS \
66+ --pure ./default.nix \
67+ -A shell-for.env \
68+ --run 'hoogle ConduitT | grep Data.Conduit'
69+echo >& 2
70+
6471printf "\n*** Finished successfully\n" >& 2