From db7a6baa33b0903963fe76be9f0ca6054ddf6f5a Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Mon, 15 May 2023 23:28:43 -0400 Subject: [PATCH] GithubLatest: Fix test for GithubRelease changes `GithubLatest` was updated to use parts of `GithubRelease` and this works fine within `brew livecheck` (since we `require` all the strategies) but we need to explicitly `require` `GithubRelease` in the `GithubLatest` test file now. Without this, we encounter errors in parts of `GithubLatest` where `GithubRelease` is referenced. --- Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb b/Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb index 194463da91..1fc402d17c 100644 --- a/Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true +require "livecheck/strategy/github_release" require "livecheck/strategy/github_latest" describe Homebrew::Livecheck::Strategy::GithubLatest do