summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_source_installed.rb
diff options
context:
space:
mode:
-rw-r--r--test/rubygems/test_gem_source_installed.rb8
1 files changed, 8 insertions, 0 deletions
@@ -11,6 +11,8 @@ class TestGemSourceInstalled < Gem::TestCase
specific = Gem::Source::SpecificFile.new a1.cache_file
installed = Gem::Source::Installed.new
local = Gem::Source::Local.new
assert_equal( 0, installed.<=>(installed), 'installed <=> installed')
@@ -22,6 +24,12 @@ class TestGemSourceInstalled < Gem::TestCase
assert_equal(-1, specific. <=>(installed), 'specific <=> installed')
assert_equal( 1, installed.<=>(specific), 'installed <=> specific')
end
end