зеркало из https://github.com/github/ruby.git
Fix test to avoid failure from the order of Dir.foreach
The order of Dir.foreach, which is internally used in Pathname), is not stable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
94b57518b1
Коммит
5688e811bd
|
@ -61,7 +61,7 @@ Removed file specifications/c-2.gemspec
|
|||
|
||||
OUTPUT
|
||||
|
||||
assert_equal expected, @ui.output
|
||||
assert_equal expected.lines.sort, @ui.output.lines.sort
|
||||
|
||||
assert_equal Gem.dir, @userhome
|
||||
assert_equal Gem.path, [@gemhome, @userhome]
|
||||
|
@ -114,7 +114,7 @@ Extra file specifications/c-2.gemspec
|
|||
|
||||
OUTPUT
|
||||
|
||||
assert_equal expected, @ui.output
|
||||
assert_equal expected.lines.sort, @ui.output.lines.sort
|
||||
|
||||
assert_equal Gem.dir, @userhome
|
||||
assert_equal Gem.path, [@gemhome, @userhome]
|
||||
|
|
Загрузка…
Ссылка в новой задаче