equal
deleted
inserted
replaced
|
1 # Fix to test bug from upstream |
|
2 # https://github.com/ruby/ruby/commit/05eb6111d9f7f6485d8d264cbb24e6e9836322b8 |
|
3 # |
|
4 --- ruby-2.1.5-orig/test/rubygems/test_gem_commands_contents_command.rb 2014-02-05 18:59:36.000000000 -0800 |
|
5 +++ ruby-2.1.5/test/rubygems/test_gem_commands_contents_command.rb 2015-04-07 14:26:02.000000000 -0700 |
|
6 @@ -169,10 +169,10 @@ |
|
7 end |
|
8 |
|
9 expected = [ |
|
10 - File.join(RbConfig::CONFIG['bindir'], 'default_command'), |
|
11 - File.join(RbConfig::CONFIG['rubylibdir'], 'default/gem.rb'), |
|
12 - File.join(RbConfig::CONFIG['archdir'], 'default_gem.so') |
|
13 - ].sort.join "\n" |
|
14 + [RbConfig::CONFIG['bindir'], 'default_command'], |
|
15 + [RbConfig::CONFIG['rubylibdir'], 'default/gem.rb'], |
|
16 + [RbConfig::CONFIG['archdir'], 'default_gem.so'] |
|
17 + ].sort.map{|a|File.join a}.join "\n" |
|
18 |
|
19 assert_equal expected, @ui.output.chomp |
|
20 assert_equal "", @ui.error |