mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_dir_m17n.rb: sort Dir.entries
* test/ruby/test_dir_m17n.rb (test_entries_compose): the order on the filesystem does not matter, so sort Dir.entries result to compare. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
28a4c88f3a
commit
0fd2c7e67b
1 changed files with 1 additions and 0 deletions
|
@ -326,6 +326,7 @@ class TestDir_M17N < Test::Unit::TestCase
|
|||
orig.map {|o| o.force_encoding(enc) }
|
||||
end
|
||||
ents = Dir.entries(".", opts).reject {|n| /\A\./ =~ n}
|
||||
ents.sort!
|
||||
pp.assert_equal(orig, ents, bug7267)
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue