Commit 34ce910
committed
test(update): isolate ambient Homebrew guards in upgrade env test
CI runners export HOMEBREW_NO_AUTO_UPDATE (and sometimes
HOMEBREW_NO_INSTALL_CLEANUP), which leaked into the inherited subprocess
env and made the non-brew assertions fail. Clear them up front so the
test asserts the guard delta the code adds, not ambient state.1 parent f1ee59e commit 34ce910
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
770 | 776 | | |
771 | 777 | | |
772 | 778 | | |
| |||
0 commit comments