MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / TestConfigHasher_EmptyConfig

Function TestConfigHasher_EmptyConfig

internal/nodeagent/dispatch_test.go:301–307  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

299}
300
301func TestConfigHasher_EmptyConfig(t *testing.T) {
302 t.Parallel()
303 hasher := ConfigHasher(newTestAPI())
304 if got := hasher(); got != "" {
305 t.Fatalf("expected empty hash for no-config manager, got %q", got)
306 }
307}
308
309func TestConfigHasher_NonEmptyChanges(t *testing.T) {
310 t.Parallel()

Callers

nothing calls this directly

Calls 2

ConfigHasherFunction · 0.85
newTestAPIFunction · 0.85

Tested by

no test coverage detected