diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-06 05:26:46 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-06 05:26:46 +0000 |
commit | 80ba379c242ce1d92005403423717cf0f74a74db (patch) | |
tree | 205b9150a8833779a3b9607ec8e5c7b5cd1ecce3 /test/rubygems/test_gem_package.rb | |
parent | afae107a4c969845c58985159a0ce51f80e920ca (diff) | |
download | ruby-80ba379c242ce1d92005403423717cf0f74a74db.tar.gz |
* lib/rubygems/command_manager.rb: Removed string concatenation
syntax. [Bug #6265]
* lib/rubygems/commands/install_command.rb: ditto
* lib/rubygems/commands/uninstall_command.rb: ditto
* lib/rubygems/indexer.rb: ditto
* lib/rubygems/security/policy.rb: ditto
* lib/rubygems/security.rb: ditto
* lib/rubygems/uninstaller.rb: ditto
* test/rubygems/test_gem_commands_cert_command.rb: ditto
* test/rubygems/test_gem_package.rb: ditto
* test/rubygems/test_gem_security.rb: ditto
* test/rubygems/test_gem_security_policy.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_package.rb')
-rw-r--r-- | test/rubygems/test_gem_package.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_package.rb b/test/rubygems/test_gem_package.rb index a9ac053a5c..9a60d97af9 100644 --- a/test/rubygems/test_gem_package.rb +++ b/test/rubygems/test_gem_package.rb @@ -302,7 +302,7 @@ class TestGemPackage < Gem::Package::TarTestCase package.extract_tar_gz tgz_io, @destination end - assert_equal("installing into parent path /absolute.rb of " \ + assert_equal("installing into parent path /absolute.rb of " + "#{@destination} is not allowed", e.message) end @@ -325,7 +325,7 @@ class TestGemPackage < Gem::Package::TarTestCase package.install_location '/absolute.rb', @destination end - assert_equal("installing into parent path /absolute.rb of " \ + assert_equal("installing into parent path /absolute.rb of " + "#{@destination} is not allowed", e.message) end @@ -338,7 +338,7 @@ class TestGemPackage < Gem::Package::TarTestCase parent = File.expand_path File.join @destination, "../relative.rb" - assert_equal("installing into parent path #{parent} of " \ + assert_equal("installing into parent path #{parent} of " + "#{@destination} is not allowed", e.message) end |