package changes #23

Merged
JMR-dev merged 4 commits from feat-package-additions into main 2026-05-30 22:21:54 +00:00
Showing only changes of commit 206b4cb999 - Show all commits
+3 -3
View File
@@ -314,11 +314,11 @@ func TestInstallSystemPackagesBrewFailures(t *testing.T) {
defer resetMocks()
pkgMgr = "brew"
runCmd = func(_ []string, _ CmdOpts) CmdResult { return CmdResult{ExitCode: 1} }
captureStdout(t, func() {
out := captureStdout(t, func() {
installSystemPackages([]string{"git"}, nil)
})
if !hasIssueContaining("System package failed to install") {
t.Error("expected error logged for brew failure")
if !strings.Contains(out, "System package failed to install") {
t.Error("expected warning logged for brew failure")
}
}