Closed
Description
Your environment
Building hls-stylish-haskell-plugin-1.0.0.0 for Arch Linux.
Which OS do you use:
Arch Linux x86_64
Steps to reproduce
Run tests from a hackage tarball
Actual behaviour
Running 1 test suites...
Test suite tests: RUNNING...
stylish-haskell
formats a document: FAIL (2.04s)
Test output was different from 'test/testdata/StylishHaskell.formatted_document.hs'. Output of ["git","diff","--no-index","--text","--exit-code","test/testdata/StylishHaskell.formatted_document.hs","/tmp/StylishHaskell.formatted_document2685-3.actual"]:
diff --git a/test/testdata/StylishHaskell.formatted_document.hs b/tmp/StylishHaskell.formatted_document2685-3.actual
old mode 100755
new mode 100644
formats a range: FAIL (3.77s)
Test output was different from 'test/testdata/StylishHaskell.formatted_range.hs'. Output of ["git","diff","--no-index","--text","--exit-code","test/testdata/StylishHaskell.formatted_range.hs","/tmp/StylishHaskell.formatted_range2685-5.actual"]:
diff --git a/test/testdata/StylishHaskell.formatted_range.hs b/tmp/StylishHaskell.formatted_range2685-5.actual
old mode 100755
new mode 100644
2 out of 2 tests failed (3.77s)
Test suite tests: FAIL
Test suite logged to: dist/test/hls-stylish-haskell-plugin-1.0.0.0-tests.log
0 of 1 test suites (0 of 1 test cases) passed.
It appears to be file permission differences. Perhaps the tests should ignore these differences?