diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-22 02:08:46 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-22 02:08:46 +0000 |
commit | b52cdd2b44c9e109048c0ad71842b361b658a0ee (patch) | |
tree | d277c8c83144d712ca13eb11a701cdcc0ebb0494 /test | |
parent | 3866715356f5016c0836fdd48b94e90fd88bd704 (diff) | |
download | ruby-b52cdd2b44c9e109048c0ad71842b361b658a0ee.tar.gz |
sort the test result
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_dir.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_dir.rb b/test/ruby/test_dir.rb index f12fd13c58..d199671e51 100644 --- a/test/ruby/test_dir.rb +++ b/test/ruby/test_dir.rb @@ -144,8 +144,8 @@ class TestDir < Test::Unit::TestCase assert_equal([File.join(@root, '//a')], Dir.glob(@root + '//a')) FileUtils.touch(File.join(@root, "{}")) - assert_equal(%w({} a).map{|f| File.join(@root, f) }, - Dir.glob(File.join(@root, '{\{\},a}'))) + assert_equal(%w(a {}).map{|f| File.join(@root, f) }, + Dir.glob(File.join(@root, '{\{\},a}')).sort) assert_equal([], Dir.glob(File.join(@root, '['))) assert_equal([], Dir.glob(File.join(@root, '[a-\\'))) |