diff options
Diffstat (limited to 'test/rubygems/test_gem_command.rb')
-rw-r--r-- | test/rubygems/test_gem_command.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_command.rb b/test/rubygems/test_gem_command.rb index 09031ac375..98127f3e80 100644 --- a/test/rubygems/test_gem_command.rb +++ b/test/rubygems/test_gem_command.rb @@ -102,7 +102,7 @@ class TestGemCommand < Gem::TestCase @cmd.invoke end - assert_match %r{Usage: gem doit}, @ui.output + assert_match(/Usage: gem doit/, @ui.output) end def test_invoke @@ -188,7 +188,7 @@ class TestGemCommand < Gem::TestCase @cmd.invoke "-h" end - assert_match %r{Usage: gem doit}, @ui.output + assert_match(/Usage: gem doit/, @ui.output) end def test_add_option |