diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-15 11:55:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-15 11:55:52 +0000 |
commit | 3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b (patch) | |
tree | c4a278220ba8141b829c5c7b0777c1049cfe413c /test/rubygems/test_gem_commands_unpack_command.rb | |
parent | 39da1b63699faf30c86e753e193c29b81b16136d (diff) |
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_commands_unpack_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_unpack_command.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/rubygems/test_gem_commands_unpack_command.rb b/test/rubygems/test_gem_commands_unpack_command.rb index 8291a6b949..8764a4017b 100644 --- a/test/rubygems/test_gem_commands_unpack_command.rb +++ b/test/rubygems/test_gem_commands_unpack_command.rb @@ -21,7 +21,7 @@ class TestGemCommandsUnpackCommand < Gem::TestCase util_make_gems assert_equal( - @cmd.find_in_cache(@a1.file_name), + @cmd.find_in_cache(@a1.file_name), Gem.cache_gem(@a1.file_name, @gemhome), 'found a-1.gem in the cache' ) @@ -31,7 +31,7 @@ class TestGemCommandsUnpackCommand < Gem::TestCase util_make_gems util_setup_fake_fetcher util_setup_spec_fetcher @a1 - + a1_data = nil open Gem.cache_gem(@a1.file_name, @gemhome), 'rb' do |fp| @@ -40,19 +40,19 @@ class TestGemCommandsUnpackCommand < Gem::TestCase Gem::RemoteFetcher.fetcher.data['http://gems.example.com/gems/a-1.gem'] = a1_data - + dep = Gem::Dependency.new(@a1.name, @a1.version) assert_equal( - @cmd.get_path(dep), - Gem.cache_gem(@a1.file_name, @gemhome), + @cmd.get_path(dep), + Gem.cache_gem(@a1.file_name, @gemhome), 'fetches a-1 and returns the cache path' ) FileUtils.rm Gem.cache_gem(@a1.file_name, @gemhome) assert_equal( - @cmd.get_path(dep), - Gem.cache_gem(@a1.file_name, @gemhome), + @cmd.get_path(dep), + Gem.cache_gem(@a1.file_name, @gemhome), 'when removed from cache, refetches a-1' ) end |