aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_commands_contents_command.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-30 00:23:15 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-30 00:23:15 +0000
commit82e6c75d145224eae63aab862c213b0ed8f0daf0 (patch)
tree0d8ee6b8721757adc73d68442c667a4677899398 /test/rubygems/test_gem_commands_contents_command.rb
parent09af9d7f7ffe1bde891040e0232038130266ccbc (diff)
downloadruby-82e6c75d145224eae63aab862c213b0ed8f0daf0.tar.gz
* lib/rubygems/commands/contents_command.rb: Sort output from command.
Replaces r38004, r38005 * test/rubygems/test_gem_commands_contents_command.rb: ditto. * lib/rubygems/defaults.rb: Use Gem.path_separator for jruby support. * lib/rubygems/path_support.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_commands_contents_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_contents_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_commands_contents_command.rb b/test/rubygems/test_gem_commands_contents_command.rb
index 6c7442bc8c..42e6053b21 100644
--- a/test/rubygems/test_gem_commands_contents_command.rb
+++ b/test/rubygems/test_gem_commands_contents_command.rb
@@ -146,7 +146,7 @@ lib/foo.rb
#{Gem::ConfigMap[:archdir]}/default_gem.so
EOF
- assert_equal expected.lines.sort, @ui.output.lines.sort
+ assert_equal expected, @ui.output
assert_equal "", @ui.error
end