ruby-changes:48229
From: naruse <ko1@a...>
Date: Sun, 22 Oct 2017 11:19:57 +0900 (JST)
Subject: [ruby-changes:48229] naruse:r60344 (trunk): sort test result
naruse 2017-10-22 11:19:52 +0900 (Sun, 22 Oct 2017) New Revision: 60344 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60344 Log: sort test result Modified files: trunk/test/ruby/test_dir.rb Index: test/ruby/test_dir.rb =================================================================== --- test/ruby/test_dir.rb (revision 60343) +++ test/ruby/test_dir.rb (revision 60344) @@ -154,7 +154,7 @@ class TestDir < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_dir.rb#L154 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/