diff options
Diffstat (limited to 'test/rubygems/test_gem_commands_server_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_server_command.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_commands_server_command.rb b/test/rubygems/test_gem_commands_server_command.rb index 1becde3ae2..cabb7cf49d 100644 --- a/test/rubygems/test_gem_commands_server_command.rb +++ b/test/rubygems/test_gem_commands_server_command.rb @@ -1,4 +1,5 @@ # frozen_string_literal: true + require_relative "helper" require "rubygems/commands/server_command" @@ -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 |