diff options
Diffstat (limited to 'test/rubygems/test_gem_commands_mirror.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_mirror.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_commands_mirror.rb b/test/rubygems/test_gem_commands_mirror.rb index 470f1c30fa..2256a3ab33 100644 --- a/test/rubygems/test_gem_commands_mirror.rb +++ b/test/rubygems/test_gem_commands_mirror.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true -require_relative 'helper' -require 'rubygems/commands/mirror_command' + +require_relative "helper" +require "rubygems/commands/mirror_command" class TestGemCommandsMirrorCommand < Gem::TestCase def setup @@ -14,6 +15,6 @@ class TestGemCommandsMirrorCommand < Gem::TestCase @cmd.execute end - assert_match %r{Install the rubygems-mirror}i, @ui.error + assert_match(/Install the rubygems-mirror/i, @ui.error) end end |