Skip to content

Commit

Permalink
Allow list to not be sorted in spec of findHaskellFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
fujimura committed Aug 17, 2015
1 parent 1165cfb commit 41953a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/FilesSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ spec = do
touch "somewhere/src/Bar.lhs"
touch "somewhere/assets/baz.png"
touch "other/Foo.hs"
findHaskellFiles ["somewhere", "other"] `shouldReturn`
actual <- findHaskellFiles ["somewhere", "other"]
actual `shouldMatchList`
["somewhere/src/Foo.hs", "somewhere/Main.hs", "somewhere/src/Bar.lhs", "other/Foo.hs"]

0 comments on commit 41953a7

Please sign in to comment.