floskell icon indicating copy to clipboard operation
floskell copied to clipboard

Test fails

Open GuillaumeDesforges opened this issue 5 years ago • 1 comments

While packaging haskell-language-server on nixpkgs: https://github.com/NixOS/nixpkgs/pull/91279

I encountered floskell error on check phase:

Running 1 test suites...
Test suite floskell-test: RUNNING...
floskell-test: styles/base.md: openBinaryFile: does not exist (No such file or directory)
Test suite floskell-test: FAIL

GuillaumeDesforges avatar Jun 25 '20 14:06 GuillaumeDesforges

It seems in the nix environment the test is run with a different working directory compared to non-nix cabal test/stack test runs. I'm looking into using the full source path to load the test files.

ennocramer avatar Jul 02 '20 15:07 ennocramer