Test failure due to different ordering
felixonmars opened this issue · comments
Felix Yan commented
test/Main.hs:265:3:
1) hiedb, Command line, ls, lists the indexed modules
expected: "/build/haskell-hiedb/src/HieDb-0.3.0.1/test/tmp/Sub/Module2.hie\tSub.Module2\tmain\n/build/haskell-hiedb/src/HieDb-0.3.0.1/test/tmp/Module1.hie\tModule1\tmain\n"
but got: "/build/haskell-hiedb/src/HieDb-0.3.0.1/test/tmp/Module1.hie\tModule1\tmain\n/build/haskell-hiedb/src/HieDb-0.3.0.1/test/tmp/Sub/Module2.hie\tSub.Module2\tmain\n"
To rerun use: --match "/hiedb/Command line/ls/lists the indexed modules/"
Randomized with seed 225274260
Finished in 1.9663 seconds
24 examples, 1 failure
Test suite hiedb-tests: FAIL
wz1000 commented
Hmm, I guess the order files are indexed is locale-dependent because of listDirectory
.
Felix Yan commented
The locale in my build environment is set to en_US.UTF-8
.
wz1000 commented
The locale in my build environment is set to en_US.UTF-8.
Probably file-system dependent then.