Use sorting to produce stable ASTs
authorGreg Hurrell <greg@hurrell.net>
Thu, 16 Jun 2016 15:44:34 +0000 (08:44 -0700)
committerGreg Hurrell <greg@hurrell.net>
Thu, 16 Jun 2016 15:44:34 +0000 (08:44 -0700)
commitafff4d4ffbb3ef3150c284d5927e895ab026d365
tree02023085e7577bfa04210a216a63f6431d9e0167
parentee97dbdaae9322f49816b5b60d5a637423177e39
Use sorting to produce stable ASTs

I think we're falling prey to inode iteration order issues, meaning that our AST
is not always the same, depending on which system we run on.

Example failure:

https://travis-ci.org/wincent/docvim/jobs/138109029

Should be fixed by always visiting the files in the same order.
lib/Text/Docvim/CLI.hs
tests/Tasty.hs
tests/fixtures/integration/ferret/golden/ast.golden