diff options
Diffstat (limited to 'test/rubygems/test_gem_commands_which_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_which_command.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_commands_which_command.rb b/test/rubygems/test_gem_commands_which_command.rb index 0d63bb9b37..3d66c0150c 100644 --- a/test/rubygems/test_gem_commands_which_command.rb +++ b/test/rubygems/test_gem_commands_which_command.rb @@ -33,7 +33,7 @@ class TestGemCommandsWhichCommand < Gem::TestCase end assert_equal '', @ui.output - assert_match %r%Can.t find Ruby library file or shared library directory\n%, + assert_match %r{Can.t find Ruby library file or shared library directory\n}, @ui.error end @@ -51,7 +51,7 @@ class TestGemCommandsWhichCommand < Gem::TestCase end assert_equal "#{@foo_bar.full_gem_path}/lib/foo_bar.rb\n", @ui.output - assert_match %r%Can.t find Ruby library file or shared library missinglib\n%, + assert_match %r{Can.t find Ruby library file or shared library missinglib\n}, @ui.error end @@ -65,7 +65,7 @@ class TestGemCommandsWhichCommand < Gem::TestCase end assert_equal '', @ui.output - assert_match %r%Can.t find Ruby library file or shared library missinglib\n%, + assert_match %r{Can.t find Ruby library file or shared library missinglib\n}, @ui.error end |