aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_source_local.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-03-27 13:49:55 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-03-30 12:48:18 +0900
commitc16815cca7c223698c11b4c520b75caeb0499f93 (patch)
treef7b9f1ed35a93555f8f27befbe26ae6963de6a9e /test/rubygems/test_gem_source_local.rb
parent4cd90c7bc01a128f239fe9329e05ae774429286d (diff)
downloadruby-c16815cca7c223698c11b4c520b75caeb0499f93.tar.gz
[rubygems/rubygems] Remove weird spacing from error messages
https://github.com/rubygems/rubygems/commit/9e21fe7f58
Diffstat (limited to 'test/rubygems/test_gem_source_local.rb')
-rw-r--r--test/rubygems/test_gem_source_local.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/rubygems/test_gem_source_local.rb b/test/rubygems/test_gem_source_local.rb
index d23cb264cb..a58a3ddfc4 100644
--- a/test/rubygems/test_gem_source_local.rb
+++ b/test/rubygems/test_gem_source_local.rb
@@ -93,16 +93,16 @@ class TestGemSourceLocal < Gem::TestCase
installed = Gem::Source::Installed.new
local = Gem::Source::Local.new
- assert_equal(0, local.<=>(local), 'local <=> local')
+ assert_equal(0, local.<=>(local), 'local <=> local')
- assert_equal(-1, remote.<=>(local), 'remote <=> local')
- assert_equal(1, local.<=>(remote), 'local <=> remote')
+ assert_equal(-1, remote.<=>(local), 'remote <=> local')
+ assert_equal(1, local.<=>(remote), 'local <=> remote')
assert_equal(1, installed.<=>(local), 'installed <=> local')
- assert_equal(-1, local.<=>(installed), 'local <=> installed')
+ assert_equal(-1, local.<=>(installed), 'local <=> installed')
- assert_equal(-1, specific.<=>(local), 'specific <=> local')
- assert_equal(1, local.<=>(specific), 'local <=> specific')
+ assert_equal(-1, specific.<=>(local), 'specific <=> local')
+ assert_equal(1, local.<=>(specific), 'local <=> specific')
end
end