From db74541efec489c62310ab85091b28bb360e79c8 Mon Sep 17 00:00:00 2001 From: drbrain Date: Tue, 20 Nov 2007 05:56:43 +0000 Subject: Update to RubyGems 0.9.5 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rubygems/test_gem_commands_environment_command.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/rubygems/test_gem_commands_environment_command.rb') diff --git a/test/rubygems/test_gem_commands_environment_command.rb b/test/rubygems/test_gem_commands_environment_command.rb index 0b97009efa..65c8cf3133 100644 --- a/test/rubygems/test_gem_commands_environment_command.rb +++ b/test/rubygems/test_gem_commands_environment_command.rb @@ -22,13 +22,14 @@ class TestGemCommandsEnvironmentCommand < RubyGemTestCase assert_match %r|RUBYGEMS VERSION: (\d\.)+\d \((\d\.)+\d\)|, @ui.output assert_match %r|RUBY VERSION: \d\.\d\.\d \(.*\) \[.*\]|, @ui.output - assert_match %r|INSTALLATION DIRECTORY: #{@gemhome}|, @ui.output + assert_match %r|INSTALLATION DIRECTORY: #{Regexp.escape @gemhome}|, + @ui.output assert_match %r|RUBYGEMS PREFIX: |, @ui.output assert_match %r|RUBY EXECUTABLE:.*ruby|, @ui.output assert_match %r|RUBYGEMS PLATFORMS:|, @ui.output assert_match %r|- #{Gem::Platform.local}|, @ui.output assert_match %r|GEM PATHS:|, @ui.output - assert_match %r|- #{@gemhome}|, @ui.output + assert_match %r|- #{Regexp.escape @gemhome}|, @ui.output assert_match %r|GEM CONFIGURATION:|, @ui.output assert_match %r|:verbose => |, @ui.output assert_match %r|REMOTE SOURCES:|, @ui.output -- cgit v1.2.3