fix typo [ci skip]

* lib/rubygems/specification.rb: reapply 56225.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-10-30 12:08:00 +00:00
parent 577a37dd29
commit 6ce158ba87
2 changed files with 2 additions and 2 deletions

View File

@ -2698,7 +2698,7 @@ class Gem::Specification < Gem::BasicSpecification
unless specification_version.is_a?(Integer) unless specification_version.is_a?(Integer)
raise Gem::InvalidSpecificationException, raise Gem::InvalidSpecificationException,
'specification_version must be a Integer (did you mean version?)' 'specification_version must be an Integer (did you mean version?)'
end end
case platform case platform

View File

@ -3080,7 +3080,7 @@ Did you mean 'Ruby'?
end end
end end
err = 'specification_version must be a Integer (did you mean version?)' err = 'specification_version must be an Integer (did you mean version?)'
assert_equal err, e.message assert_equal err, e.message
end end
end end