1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/rubygems/test_gem_package.rb (test_verify_nonexistent): should

make no assumptions on system error messages.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-03-15 11:20:00 +00:00
parent c7c3a275f3
commit d4c1418aab

View file

@ -509,7 +509,7 @@ class TestGemPackage < Gem::Package::TarTestCase
package.verify
end
assert_equal 'No such file or directory - nonexistent.gem', e.message
assert_match / -\snonexistent\.gem\z/, e.message
end
def test_verify_security_policy