diff options
Diffstat (limited to 'test/rubygems/test_gem_commands_list_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_list_command.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/rubygems/test_gem_commands_list_command.rb b/test/rubygems/test_gem_commands_list_command.rb index d8cffce7a3..c83dd51b67 100644 --- a/test/rubygems/test_gem_commands_list_command.rb +++ b/test/rubygems/test_gem_commands_list_command.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true -require_relative 'helper' -require 'rubygems/commands/list_command' + +require_relative "helper" +require "rubygems/commands/list_command" class TestGemCommandsListCommand < Gem::TestCase def setup @@ -9,7 +10,7 @@ class TestGemCommandsListCommand < Gem::TestCase @cmd = Gem::Commands::ListCommand.new spec_fetcher do |fetcher| - fetcher.spec 'c', 1 + fetcher.spec "c", 1 end @fetcher.data["#{@gem_repo}Marshal.#{Gem.marshal_version}"] = proc do @@ -27,6 +28,6 @@ class TestGemCommandsListCommand < Gem::TestCase end assert_equal "true\n", @ui.output - assert_equal '', @ui.error + assert_equal "", @ui.error end end |