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

Function validateState

coderd/prebuilds/preset_snapshot_test.go:1850–1852  ·  view source on GitHub ↗
(t *testing.T, expected, actual prebuilds.ReconciliationState)

Source from the content-addressed store, hash-verified

1848}
1849
1850func validateState(t *testing.T, expected, actual prebuilds.ReconciliationState) {
1851 require.Equal(t, expected, actual)
1852}
1853
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.

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