From f6ee19239d6e14b9b24ad38099c17ad1b3db79bb Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sat, 15 Jun 2024 19:08:53 +1000 Subject: [PATCH] Fix spelling; `Github` -> `GitHub` --- .../download_strategies/curl_github_packages_spec.rb | 2 +- Library/Homebrew/test/formula_auditor_spec.rb | 12 ++++++------ .../test/livecheck/strategy/github_latest_spec.rb | 2 +- .../test/livecheck/strategy/github_releases_spec.rb | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Library/Homebrew/test/download_strategies/curl_github_packages_spec.rb b/Library/Homebrew/test/download_strategies/curl_github_packages_spec.rb index 0828ee26c6..07d7d7ada1 100644 --- a/Library/Homebrew/test/download_strategies/curl_github_packages_spec.rb +++ b/Library/Homebrew/test/download_strategies/curl_github_packages_spec.rb @@ -56,7 +56,7 @@ RSpec.describe CurlGitHubPackagesDownloadStrategy do strategy.fetch end - context "with Github Packages authentication defined" do + context "with GitHub Packages authentication defined" do let(:authorization) { "Bearer dead-beef-cafe" } it "calls curl with the provided header value" do diff --git a/Library/Homebrew/test/formula_auditor_spec.rb b/Library/Homebrew/test/formula_auditor_spec.rb index f8103cda3e..cb52b57c58 100644 --- a/Library/Homebrew/test/formula_auditor_spec.rb +++ b/Library/Homebrew/test/formula_auditor_spec.rb @@ -281,7 +281,7 @@ RSpec.describe Homebrew::FormulaAuditor do end it "checks online and verifies that a standard license id is the same " \ - "as what is indicated on its Github repo", :needs_network do + "as what is indicated on its GitHub repo", :needs_network do formula_text = <<~RUBY class Cask < Formula url "https://github.com/cask/cask/archive/v0.8.4.tar.gz" @@ -297,7 +297,7 @@ RSpec.describe Homebrew::FormulaAuditor do end it "checks online and verifies that a standard license id with AND is the same " \ - "as what is indicated on its Github repo", :needs_network do + "as what is indicated on its GitHub repo", :needs_network do formula_text = <<~RUBY class Cask < Formula url "https://github.com/cask/cask/archive/v0.8.4.tar.gz" @@ -313,7 +313,7 @@ RSpec.describe Homebrew::FormulaAuditor do end it "checks online and verifies that a standard license id with WITH is the same " \ - "as what is indicated on its Github repo", :needs_network do + "as what is indicated on its GitHub repo", :needs_network do formula_text = <<~RUBY class Cask < Formula url "https://github.com/cask/cask/archive/v0.8.4.tar.gz" @@ -395,7 +395,7 @@ RSpec.describe Homebrew::FormulaAuditor do end it "checks online and detects that a formula-specified license is not " \ - "the same as what is indicated on its Github repository", :needs_network do + "the same as what is indicated on its GitHub repository", :needs_network do formula_text = <<~RUBY class Cask < Formula url "https://github.com/cask/cask/archive/v0.8.4.tar.gz" @@ -429,7 +429,7 @@ RSpec.describe Homebrew::FormulaAuditor do end it "checks online and detects that an array of license does not contain " \ - "what is indicated on its Github repository", :needs_network do + "what is indicated on its GitHub repository", :needs_network do formula_text = <<~RUBY class Cask < Formula url "https://github.com/cask/cask/archive/v0.8.4.tar.gz" @@ -446,7 +446,7 @@ RSpec.describe Homebrew::FormulaAuditor do end it "checks online and verifies that an array of license contains " \ - "what is indicated on its Github repository", :needs_network do + "what is indicated on its GitHub repository", :needs_network do formula_text = <<~RUBY class Cask < Formula url "https://github.com/cask/cask/archive/v0.8.4.tar.gz" diff --git a/Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb b/Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb index 0a14f238de..f527b96c68 100644 --- a/Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb @@ -54,7 +54,7 @@ RSpec.describe Homebrew::Livecheck::Strategy::GithubLatest do expect(github_latest.generate_input_values(github_urls[:repository_upload])).to eq(generated) end - it "returns an empty hash for a non-Github URL" do + it "returns an empty hash for a non-GitHub URL" do expect(github_latest.generate_input_values(non_github_url)).to eq({}) end end diff --git a/Library/Homebrew/test/livecheck/strategy/github_releases_spec.rb b/Library/Homebrew/test/livecheck/strategy/github_releases_spec.rb index d9dd1897a4..8b9effa65b 100644 --- a/Library/Homebrew/test/livecheck/strategy/github_releases_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/github_releases_spec.rb @@ -114,7 +114,7 @@ RSpec.describe Homebrew::Livecheck::Strategy::GithubReleases do expect(github_releases.generate_input_values(github_urls[:repository_upload])).to eq(generated) end - it "returns an empty hash for a non-Github URL" do + it "returns an empty hash for a non-GitHub URL" do expect(github_releases.generate_input_values(non_github_url)).to eq({}) end end