diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-17 23:59:31 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-17 23:59:31 +0000 |
commit | 215fbc639fc63d4300a91ae4c8e30865f6a03f3c (patch) | |
tree | 13f0bc33bcdd0dca931c0af17a6ac1b70dd282f8 /test/rubygems/test_gem_source_index.rb | |
parent | 9d4f37f51fb2ffdef5e318afb3cb81516dcba4f7 (diff) | |
download | ruby-215fbc639fc63d4300a91ae4c8e30865f6a03f3c.tar.gz |
Fix RubyGems for 1.9, r1780
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_source_index.rb')
-rw-r--r-- | test/rubygems/test_gem_source_index.rb | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/test/rubygems/test_gem_source_index.rb b/test/rubygems/test_gem_source_index.rb index adb9037caa..263826759a 100644 --- a/test/rubygems/test_gem_source_index.rb +++ b/test/rubygems/test_gem_source_index.rb @@ -128,13 +128,8 @@ WARNING: Invalid .gemspec format in '#{spec_file}' assert_equal '', @ui.output - expected = <<-EOF -WARNING: compile error -#{spec_file}:1: syntax error, unexpected $end -WARNING: 1 + - EOF - - assert_equal expected, @ui.error + assert_match(/syntax error/, @ui.error) + assert_match(/1 \+/, @ui.error) end def test_self_load_specification_system_exit |