diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_dir.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_dir.rb b/test/ruby/test_dir.rb index 85247afc17..81e047d385 100644 --- a/test/ruby/test_dir.rb +++ b/test/ruby/test_dir.rb @@ -179,7 +179,7 @@ class TestDir < Test::Unit::TestCase end def test_foreach - assert_equal(Dir.foreach(@root).to_a.sort, %w(. ..) + (?a..?z).to_a) + assert_equal(%w(. ..) + (?a..?z).to_a, Dir.foreach(@root).to_a.sort) end def test_dir_enc |