summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_server_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_commands_server_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_server_command.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_commands_server_command.rb b/test/rubygems/test_gem_commands_server_command.rb
index 96c328f93f..cabb7cf49d 100644
--- a/test/rubygems/test_gem_commands_server_command.rb
+++ b/test/rubygems/test_gem_commands_server_command.rb
@@ -1,6 +1,7 @@
# frozen_string_literal: true
-require_relative 'helper'
-require 'rubygems/commands/server_command'
+
+require_relative "helper"
+require "rubygems/commands/server_command"
class TestGemCommandsServerCommand < Gem::TestCase
def setup
@@ -14,6 +15,6 @@ class TestGemCommandsServerCommand < Gem::TestCase
@cmd.execute
end
- assert_match %r{Install the rubygems-server}i, @ui.error
+ assert_match(/Install the rubygems-server/i, @ui.error)
end
end