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:
parent
577a37dd29
commit
6ce158ba87
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user