diff options
author | Carlos Palhares <chjunior@gmail.com> | 2021-10-25 15:50:32 -0300 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-11-02 10:24:00 +0900 |
commit | 17f8fd656818d62ab18027dc21e463768e1a9b54 (patch) | |
tree | cef7b37d9c1d65ee2b6d7dd2a45c5920e4614033 /test/rubygems | |
parent | b74385e78d36f2d7ecba364e615c3424a55fa169 (diff) | |
download | ruby-17f8fd656818d62ab18027dc21e463768e1a9b54.tar.gz |
Allow custom LicenseRef
Diffstat (limited to 'test/rubygems')
-rw-r--r-- | test/rubygems/test_gem_specification.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index 582813c01d..bfd0db347e 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -3066,6 +3066,17 @@ http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. WARNING end + def test_validate_license_ref + util_setup_validate + + use_ui @ui do + @a1.licenses = ['LicenseRef-LICENSE.md'] + @a1.validate + end + + assert_empty @ui.error + end + def test_validate_license_values_plus util_setup_validate |