From 403413e1f1d88a1af94ad9a288bfd7c28ef7257d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 26 Jun 2024 16:43:15 +0200 Subject: [PATCH] [rubygems/rubygems] Don't print warning about nil versions being discouraged during tests https://github.com/rubygems/rubygems/commit/39a47c264e --- test/rubygems/test_gem_specification.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index 8975c083af..34ebb377c6 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -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