Permalink
Browse files

Sort files to prevent file-ordering bugs

  • Loading branch information...
1 parent 479dccb commit 41d5ed46a46c0c32f56599354e18121afdbcabb0 @dwwoelfel committed Feb 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/jasmine/path_expander.rb
@@ -10,7 +10,7 @@ def self.expand(base_directory, patterns, globber = Dir.method(:glob))
files = [File.join(base_directory, path)]
end
files
- end.flatten.uniq
+ end.flatten.uniq.sort
end
chosen - negated
end

0 comments on commit 41d5ed4

Please sign in to comment.