Skip to content

Commit 7efd4de

Browse files
committed
Fixed a test that relied on sort order.
1 parent 69c1ff2 commit 7efd4de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/generator_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def test_pipe_command
188188
end
189189

190190
def list_dir(dir)
191-
l = Dir.entries(dir)
191+
l = Dir.entries(dir).sort
192192
l.delete_if {|d| d =~ /(^\.+$)|\.bak$/}
193193
end
194194

0 commit comments

Comments
 (0)