[rubygems/rubygems] Don't print warning about nil versions being discouraged during tests

https://github.com/rubygems/rubygems/commit/39a47c264e
This commit is contained in:
David Rodríguez 2024-06-26 16:43:15 +02:00 коммит произвёл git
Родитель aa2a88ce90
Коммит 403413e1f1
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -3953,11 +3953,11 @@ end
def test_validate_for_resolution_validates_required_attributes
e = assert_raise Gem::InvalidSpecificationException do
@a1.version = nil
@a1.name = nil
@a1.validate_for_resolution
end
assert_equal "missing value for attribute version", e.message
assert_equal "missing value for attribute name", e.message
end
def test_validate_for_resolution_validates_name