From 6888d69747efd516e54e7e3381bc3a50fa39991e Mon Sep 17 00:00:00 2001 From: naruse Date: Sun, 22 Oct 2017 02:19:52 +0000 Subject: [PATCH] sort test result git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_dir.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_dir.rb b/test/ruby/test_dir.rb index d199671e51..a35f7a5c7c 100644 --- a/test/ruby/test_dir.rb +++ b/test/ruby/test_dir.rb @@ -154,7 +154,7 @@ class TestDir < Test::Unit::TestCase open(File.join(@root, "}}{}"), "wb") {} open(File.join(@root, "}}a"), "wb") {} - 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)}.sort, Dir.glob(File.join(@root, '}}{\{\},a}')).sort) assert_equal(%w(}}{} }}a b c).map {|f| File.join(@root, f)}.sort, Dir.glob(File.join(@root, '{\}\}{\{\},a},b,c}')).sort) end