diff options
Diffstat (limited to 'test/rubygems/test_gem_commands_which_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_which_command.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/rubygems/test_gem_commands_which_command.rb b/test/rubygems/test_gem_commands_which_command.rb index a398dc5708..46e95bf619 100644 --- a/test/rubygems/test_gem_commands_which_command.rb +++ b/test/rubygems/test_gem_commands_which_command.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require_relative 'helper' -require 'rubygems/commands/which_command' +require_relative "helper" +require "rubygems/commands/which_command" class TestGemCommandsWhichCommand < Gem::TestCase def setup @@ -19,7 +19,7 @@ class TestGemCommandsWhichCommand < Gem::TestCase end assert_equal "#{@foo_bar.full_gem_path}/lib/foo_bar.rb\n", @ui.output - assert_equal '', @ui.error + assert_equal "", @ui.error end def test_execute_directory @@ -31,7 +31,7 @@ class TestGemCommandsWhichCommand < Gem::TestCase end end - assert_equal '', @ui.output + assert_equal "", @ui.output assert_match %r{Can.t find Ruby library file or shared library directory\n}, @ui.error end @@ -63,14 +63,14 @@ class TestGemCommandsWhichCommand < Gem::TestCase end end - assert_equal '', @ui.output + assert_equal "", @ui.output assert_match %r{Can.t find Ruby library file or shared library missinglib\n}, @ui.error end def util_foo_bar files = %w[lib/foo_bar.rb lib/directory/baz.rb Rakefile] - @foo_bar = util_spec 'foo_bar' do |gem| + @foo_bar = util_spec "foo_bar" do |gem| gem.files = files end install_specs @foo_bar |