summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-17 23:59:31 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-17 23:59:31 +0000
commit210214b49fa615b75e328e6285351b8589253bd2 (patch)
tree13f0bc33bcdd0dca931c0af17a6ac1b70dd282f8 /test
parent46d825c2eb55bf976d813135cbd35ad2ddd1fc91 (diff)
downloadruby-210214b49fa615b75e328e6285351b8589253bd2.tar.gz
ruby-210214b49fa615b75e328e6285351b8589253bd2.tar.xz
ruby-210214b49fa615b75e328e6285351b8589253bd2.zip
Fix RubyGems for 1.9, r1780
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/test_gem_source_index.rb9
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 adb9037ca..263826759 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