Skip to content

Commit 82a7e90

Browse files
Jerry XieJerry Xie
authored andcommitted
test: assert casks are included in SelectedPkgs for remote configs
1 parent 0f5c077 commit 82a7e90

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

internal/installer/installer_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func TestCheckDependencies_DryRunSkipsEverything(t *testing.T) {
125125
}
126126
opts := cfg.ToInstallOptions()
127127
st := cfg.ToInstallState()
128-
err := runCustomInstall(opts, st)
128+
err := checkDependencies(opts, st)
129129
assert.NoError(t, err)
130130
}
131131

@@ -178,6 +178,7 @@ func TestRunInstall_DryRunRemoteConfig(t *testing.T) {
178178
require.NoError(t, err)
179179
assert.True(t, st.SelectedPkgs["git"])
180180
assert.True(t, st.SelectedPkgs["curl"])
181+
assert.True(t, st.SelectedPkgs["firefox"], "GUI app (cask) should be in SelectedPkgs")
181182
}
182183

183184
func TestNewInstallState(t *testing.T) {

0 commit comments

Comments
 (0)