summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_build_command.rb
diff options
context:
space:
mode:
authorJosef Šimánek <[email protected]>2023-08-30 02:31:09 +0200
committergit <[email protected]>2023-09-30 11:20:08 +0000
commit4cf68908e59979306d6069b1828c209079bcb9b7 ()
tree7c4a4f5304a538a5be46428ced4fef7e53bd9b29 /test/rubygems/test_gem_commands_build_command.rb
parentd647709d1acc7d56a3e89b5166c816d65fdb606d (diff)
[rubygems/rubygems] Update SPDX list and warn on deprecated identifiers.
https://.com/rubygems/rubygems/commit/61667028f5
-rw-r--r--test/rubygems/test_gem_commands_build_command.rb6
1 files changed, 3 insertions, 3 deletions
@@ -26,7 +26,7 @@ class TestGemCommandsBuildCommand < Gem::TestCase
end
@gem = util_spec "some_gem" do |s|
- s.license = "AGPL-3.0"
s.files = ["README.md"]
end
@@ -198,8 +198,8 @@ class TestGemCommandsBuildCommand < Gem::TestCase
end
error = @ui.error.split "\n"
- assert_equal "WARNING: licenses is empty, but is recommended. Use a license identifier from", error.shift
- assert_equal "http://spdx.org/licenses or 'Nonstandard' for a nonstandard license,", error.shift
assert_equal "or set it to nil if you don't want to specify a license.", error.shift
assert_equal "WARNING: See https://guides.rubygems.org/specification-reference/ for help", error.shift
assert_equal [], error