From 89ef97a51b4fbecf000de25a9cd3a5919b2c9867 Mon Sep 17 00:00:00 2001 From: Nathan Whetsell Date: Sat, 5 Sep 2020 10:37:14 -0400 Subject: [PATCH] Remove trailing slash from SPDX license exception URL --- Library/Homebrew/dev-cmd/audit.rb | 2 +- Library/Homebrew/test/dev-cmd/audit_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index a8e691fe5d..0f187a40b6 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -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 diff --git a/Library/Homebrew/test/dev-cmd/audit_spec.rb b/Library/Homebrew/test/dev-cmd/audit_spec.rb index fc6feb77bb..4f97063fb3 100644 --- a/Library/Homebrew/test/dev-cmd/audit_spec.rb +++ b/Library/Homebrew/test/dev-cmd/audit_spec.rb @@ -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