MCPcopy Create free account
hub / github.com/coder/coder / validateActions

Function validateActions

coderd/prebuilds/preset_snapshot_test.go:1856–1858  ·  view source on GitHub ↗

validateActions is a convenience func to make tests more readable; it exploits the fact that the default states for prebuilds align with zero values.

(t *testing.T, expected, actual []*prebuilds.ReconciliationActions)

Source from the content-addressed store, hash-verified

1854// validateActions is a convenience func to make tests more readable; it exploits the fact that the default states for
1855// prebuilds align with zero values.
1856func validateActions(t *testing.T, expected, actual []*prebuilds.ReconciliationActions) {
1857 require.Equal(t, expected, actual)
1858}

Callers 11

TestNoPrebuildsFunction · 0.85
TestNetNewFunction · 0.85
TestOutdatedPrebuildsFunction · 0.85
TestInProgressActionsFunction · 0.85
TestExtraneousFunction · 0.85
TestExpiredPrebuildsFunction · 0.85
TestDeprecatedFunction · 0.85
TestLatestBuildFailedFunction · 0.85
TestPrebuildSchedulingFunction · 0.85

Calls 1

EqualMethod · 0.45

Tested by

no test coverage detected