From d04c5ad4f804cdc1bc8cb625ee6016ea86a85a8b Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Tue, 19 Mar 2024 17:01:04 -0400 Subject: [PATCH] test/utils/github_spec: filter further to fix test failure Signed-off-by: Michael Cho --- Library/Homebrew/test/utils/github_spec.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/test/utils/github_spec.rb b/Library/Homebrew/test/utils/github_spec.rb index c21a7ae6a4..1c01709361 100644 --- a/Library/Homebrew/test/utils/github_spec.rb +++ b/Library/Homebrew/test/utils/github_spec.rb @@ -25,9 +25,10 @@ RSpec.describe GitHub do results = described_class.search_issues("brew search", repo: "Homebrew/legacy-homebrew", author: "MikeMcQuaid", - is: "closed") + is: "issue", + no: "milestone") expect(results).not_to be_empty - expect(results.first["title"]).to eq("Shall we run `brew update` automatically?") + expect(results.first["title"]).to eq("Shall we move more things to taps?") end end