Remove trailing slash from SPDX license exception URL

This commit is contained in:
Nathan Whetsell 2020-09-05 10:37:14 -04:00
parent 39f0784108
commit 89ef97a51b
2 changed files with 3 additions and 3 deletions

View File

@ -388,7 +388,7 @@ module Homebrew
problem <<~EOS
Formula #{formula.name} contains invalid or deprecated SPDX license exceptions: #{invalid_exceptions}.
For a list of valid license exceptions check:
#{Formatter.url("https://spdx.org/licenses/exceptions-index.html/")}
#{Formatter.url("https://spdx.org/licenses/exceptions-index.html")}
EOS
end

View File

@ -354,7 +354,7 @@ module Homebrew
expect(fa.problems.first).to match <<~EOS
Formula cask contains invalid or deprecated SPDX license exceptions: ["zzz"].
For a list of valid license exceptions check:
https://spdx.org/licenses/exceptions-index.html/
https://spdx.org/licenses/exceptions-index.html
EOS
end
@ -373,7 +373,7 @@ module Homebrew
expect(fa.problems.first).to match <<~EOS
Formula cask contains invalid or deprecated SPDX license exceptions: ["#{deprecated_spdx_exception}"].
For a list of valid license exceptions check:
https://spdx.org/licenses/exceptions-index.html/
https://spdx.org/licenses/exceptions-index.html
EOS
end