diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-04-20 18:32:51 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-05-08 07:38:50 +0900 |
commit | 0b40279d7dcd741ee8401f6b5fd2edbd431ea0c4 (patch) | |
tree | 88f069e7fc46071a984005371965cab9e6013985 /test/rubygems/test_gem_specification.rb | |
parent | 2205ae8af5928c97a28f281f029bb3be290bf010 (diff) | |
download | ruby-0b40279d7dcd741ee8401f6b5fd2edbd431ea0c4.tar.gz |
Normalize heredoc case in rubygems code base
Diffstat (limited to 'test/rubygems/test_gem_specification.rb')
-rw-r--r-- | test/rubygems/test_gem_specification.rb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index 875d27761c..e0568506c5 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -3122,10 +3122,10 @@ Please report a bug if this causes problems. @a1.validate end - assert_match <<-warning, @ui.error + assert_match <<-WARNING, @ui.error WARNING: licenses is empty, but is recommended. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. - warning + WARNING end def test_removed_methods @@ -3151,10 +3151,10 @@ http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. @a1.validate end - assert_match <<-warning, @ui.error + assert_match <<-WARNING, @ui.error WARNING: license value 'BSD' is invalid. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. - warning + WARNING end def test_validate_license_values_plus @@ -3198,14 +3198,14 @@ http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. @a1.validate end - assert_match <<-warning, @ui.error + assert_match <<-WARNING, @ui.error WARNING: license value 'GPL-2.0+ FOO' is invalid. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. - warning - assert_match <<-warning, @ui.error + WARNING + assert_match <<-WARNING, @ui.error WARNING: license value 'GPL-2.0 FOO' is invalid. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. - warning + WARNING end def test_validate_license_with_invalid_exception @@ -3216,10 +3216,10 @@ http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. @a1.validate end - assert_match <<-warning, @ui.error + assert_match <<-WARNING, @ui.error WARNING: license value 'GPL-2.0+ WITH Autocofn-exception-2.0' is invalid. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. - warning + WARNING end def test_validate_license_gives_suggestions @@ -3230,11 +3230,11 @@ http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. @a1.validate end - assert_match <<-warning, @ui.error + assert_match <<-WARNING, @ui.error WARNING: license value 'ruby' is invalid. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. Did you mean 'Ruby'? - warning + WARNING end def test_validate_empty_files |