summaryrefslogtreecommitdiff
path: root/test/rubygems/test_kernel.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_kernel.rb')
-rw-r--r--test/rubygems/test_kernel.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/rubygems/test_kernel.rb b/test/rubygems/test_kernel.rb
index d3714a2..32658c5 100644
--- a/test/rubygems/test_kernel.rb
+++ b/test/rubygems/test_kernel.rb
@@ -46,10 +46,9 @@ class TestKernel < Gem::TestCase
gem 'a', '= 2'
end
- assert_match(/activate a \(= 2\)/, ex.message)
+ assert_equal "can't activate a-2, already activated a-1", ex.message
assert_match(/activated a-1/, ex.message)
assert_equal 'a', ex.name
- assert_equal Gem::Requirement.new('= 2'), ex.requirement
assert $:.any? { |p| %r{a-1/lib} =~ p }
refute $:.any? { |p| %r{a-2/lib} =~ p }