diff options
Diffstat (limited to 'test/rubygems/test_gem_commands_contents_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_contents_command.rb | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/test/rubygems/test_gem_commands_contents_command.rb b/test/rubygems/test_gem_commands_contents_command.rb index 93ebcca5bb..d8f01ecbf0 100644 --- a/test/rubygems/test_gem_commands_contents_command.rb +++ b/test/rubygems/test_gem_commands_contents_command.rb @@ -27,8 +27,8 @@ class TestGemCommandsContentsCommand < Gem::TestCase @cmd.execute end - assert_match %r|lib/foo\.rb|, @ui.output - assert_match %r|Rakefile|, @ui.output + assert_match %r{lib/foo\.rb}, @ui.output + assert_match %r{Rakefile}, @ui.output assert_equal "", @ui.error end @@ -42,9 +42,9 @@ class TestGemCommandsContentsCommand < Gem::TestCase @cmd.execute end - assert_match %r|lib/foo\.rb|, @ui.output - assert_match %r|lib/bar\.rb|, @ui.output - assert_match %r|Rakefile|, @ui.output + assert_match %r{lib/foo\.rb}, @ui.output + assert_match %r{lib/bar\.rb}, @ui.output + assert_match %r{Rakefile}, @ui.output assert_equal "", @ui.error end @@ -57,8 +57,8 @@ class TestGemCommandsContentsCommand < Gem::TestCase end end - assert_match %r|Unable to find gem 'foo' in default gem paths|, @ui.output - assert_match %r|Directories searched:|, @ui.output + assert_match %r{Unable to find gem 'foo' in default gem paths}, @ui.output + assert_match %r{Directories searched:}, @ui.output assert_equal "", @ui.error end @@ -71,8 +71,8 @@ class TestGemCommandsContentsCommand < Gem::TestCase @cmd.execute end - assert_match %r|lib/foo\.rb|, @ui.output - assert_match %r|Rakefile|, @ui.output + assert_match %r{lib/foo\.rb}, @ui.output + assert_match %r{Rakefile}, @ui.output assert_equal "", @ui.error end @@ -86,8 +86,8 @@ class TestGemCommandsContentsCommand < Gem::TestCase @cmd.execute end - assert_match %r|lib/foo\.rb|, @ui.output - refute_match %r|Rakefile|, @ui.output + assert_match %r{lib/foo\.rb}, @ui.output + refute_match %r{Rakefile}, @ui.output assert_equal "", @ui.error end @@ -146,9 +146,9 @@ class TestGemCommandsContentsCommand < Gem::TestCase @cmd.execute end - assert_match %r|lib/foo\.rb|, @ui.output - assert_match %r|lib/bar\.rb|, @ui.output - assert_match %r|Rakefile|, @ui.output + assert_match %r{lib/foo\.rb}, @ui.output + assert_match %r{lib/bar\.rb}, @ui.output + assert_match %r{Rakefile}, @ui.output assert_equal "", @ui.error end |