Closed momohatt closed 5 years ago
Thank you!
I fixed the Spec.hs
and the description, please check them.
"This branch has conflicts that must be resolved" before we can merge!
Somehow I can't see the details of the test results, what shall I do...?
That's strange. It seems to fail to compile with stack test --pedantic
?
[1 of 2] Compiling Main ( /private/var/folders/hc/jrk9_nvx7lx3dw303jm5_7wr0000gn/T/stack14220/postgresql-libpq-0.9.4.2/Setup.hs, /private/var/folders/hc/jrk9_nvx7lx3dw303jm5_7wr0000gn/T/stack14220/postgresql-libpq-0.9.4.2/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/Main.o )
[2 of 2] Compiling StackSetupShim ( /Users/momohatt/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /private/var/folders/hc/jrk9_nvx7lx3dw303jm5_7wr0000gn/T/stack14220/postgresql-libpq-0.9.4.2/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/StackSetupShim.o )
Linking /private/var/folders/hc/jrk9_nvx7lx3dw303jm5_7wr0000gn/T/stack14220/postgresql-libpq-0.9.4.2/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/setup ...
Configuring postgresql-libpq-0.9.4.2...
setup: The program 'pg_config' is required but it could not be found.
No idea what to do...
Some tests use a postgresql database, you'll need brew install libpq
or similar depending on your system (I'm guessing macos)?
It worked (and yes I'm using MacOS), thank you so much!
Great, thanks for adding this nice example!
Thanks for your review!
@stevana Do you have any idea why the test is failing?