MCPcopy Create free account
hub / github.com/driangle/taskmd / TestParseIDConfig_NotAMap

Function TestParseIDConfig_NotAMap

apps/cli/internal/cli/validate_test.go:810–816  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

808}
809
810func TestParseIDConfig_NotAMap(t *testing.T) {
811 cfg := parseIDConfig("not-a-map")
812
813 if cfg != nil {
814 t.Errorf("expected nil for non-map input, got %+v", cfg)
815 }
816}
817
818func TestParseIDConfig_ViperIntTypes(t *testing.T) {
819 // Viper may return int64 or float64 for numeric values

Callers

nothing calls this directly

Calls 1

parseIDConfigFunction · 0.85

Tested by

no test coverage detected