diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-04-05 17:06:01 +0900 |
---|---|---|
committer | git <[email protected]> | 2023-04-05 09:50:29 +0000 |
commit | e003784fc8bfa527cf21c317741101a713c041c0 () | |
tree | 0d69690aec6d5f156ed90241d6beb46e112cc503 /test/rubygems/test_gem_commands_specification_command.rb | |
parent | 65d27d3c0a1235f04ca90f94e29a7f2ddfd1b574 (diff) |
[rubygems/rubygems] util/rubocop -A --only Style/RegexpLiteral
https://.com/rubygems/rubygems/commit/9264d83421
-rw-r--r-- | test/rubygems/test_gem_commands_specification_command.rb | 30 |
1 files changed, 15 insertions, 15 deletions
@@ -21,8 +21,8 @@ class TestGemCommandsSpecificationCommand < Gem::TestCase @cmd.execute end - assert_match %r{Gem::Specification}, @ui.output - assert_match %r{name: foo}, @ui.output assert_equal "", @ui.error end @@ -37,10 +37,10 @@ class TestGemCommandsSpecificationCommand < Gem::TestCase @cmd.execute end - assert_match %r{Gem::Specification}, @ui.output - assert_match %r{name: foo}, @ui.output - assert_match %r{version: 0.0.1}, @ui.output - assert_match %r{version: 0.0.2}, @ui.output assert_equal "", @ui.error end @@ -99,8 +99,8 @@ class TestGemCommandsSpecificationCommand < Gem::TestCase @cmd.execute end - assert_match %r{Gem::Specification}, @ui.output - assert_match %r{name: foo}, @ui.output assert_equal "", @ui.error end @@ -131,8 +131,8 @@ class TestGemCommandsSpecificationCommand < Gem::TestCase @cmd.execute end - assert_match %r{Gem::Specification}, @ui.output - assert_match %r{name: foo}, @ui.output assert_equal "", @ui.error end @@ -165,7 +165,7 @@ class TestGemCommandsSpecificationCommand < Gem::TestCase end assert_match %r{\A--- !ruby/object:Gem::Specification}, @ui.output - assert_match %r{name: foo}, @ui.output end def test_execute_remote_with_version @@ -229,7 +229,7 @@ class TestGemCommandsSpecificationCommand < Gem::TestCase end assert_match %r{\A--- !ruby/object:Gem::Specification}, @ui.output - assert_match %r{name: foo}, @ui.output spec = load_yaml @ui.output @@ -251,7 +251,7 @@ class TestGemCommandsSpecificationCommand < Gem::TestCase end assert_match %r{\A--- !ruby/object:Gem::Specification}, @ui.output - assert_match %r{name: foo}, @ui.output spec = load_yaml @ui.output @@ -270,8 +270,8 @@ class TestGemCommandsSpecificationCommand < Gem::TestCase @cmd.execute end - assert_match %r{Gem::Specification.new}, @ui.output - assert_match %r{s.name = "foo"}, @ui.output assert_equal "", @ui.error end end |