From 799312c5fc45b24ef38e31e54f43e385ad412d53 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 30 Dec 2017 21:18:02 +0000 Subject: missing_formula: check deleted in the last month. This speeds things up pretty dramatically and handles the case that something was deleted recently and users haven't learned about it yet. Fixes #3513. --- Library/Homebrew/test/missing_formula_spec.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Homebrew/test/missing_formula_spec.rb') diff --git a/Library/Homebrew/test/missing_formula_spec.rb b/Library/Homebrew/test/missing_formula_spec.rb index 830ecb6aa..d16c6116f 100644 --- a/Library/Homebrew/test/missing_formula_spec.rb +++ b/Library/Homebrew/test/missing_formula_spec.rb @@ -140,6 +140,8 @@ describe Homebrew::MissingFormula do tap_path = Tap::TAP_DIRECTORY/"homebrew/homebrew-foo" tap_path.mkpath (tap_path/"deleted-formula.rb").write "placeholder" + ENV.delete "GIT_AUTHOR_DATE" + ENV.delete "GIT_COMMITTER_DATE" tap_path.cd do system "git", "init" -- cgit v1.2.3