summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_command.rb')
-rw-r--r--test/rubygems/test_gem_command.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_command.rb b/test/rubygems/test_gem_command.rb
index 230baa5356..c3f057f2ff 100644
--- a/test/rubygems/test_gem_command.rb
+++ b/test/rubygems/test_gem_command.rb
@@ -82,7 +82,7 @@ class TestGemCommand < Gem::TestCase
@cmd.invoke
end
- assert_match %r|Usage: gem doit|, @ui.output
+ assert_match %r{Usage: gem doit}, @ui.output
end
def test_invoke
@@ -168,7 +168,7 @@ class TestGemCommand < Gem::TestCase
@cmd.invoke '-h'
end
- assert_match %r|Usage: gem doit|, @ui.output
+ assert_match %r{Usage: gem doit}, @ui.output
end
def test_option_recognition