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

Function TestValidateConfig_NilConfig

sdk/go/validator/validator_test.go:874–881  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

872}
873
874func TestValidateConfig_NilConfig(t *testing.T) {
875 v := NewValidator(false)
876 result := v.ValidateConfig(nil)
877
878 if result.Errors != 0 || result.Warnings != 0 {
879 t.Errorf("Expected no issues for nil config, got %d errors, %d warnings", result.Errors, result.Warnings)
880 }
881}
882
883func TestValidateConfig_NoScopes(t *testing.T) {
884 v := NewValidator(false)

Callers

nothing calls this directly

Calls 2

ValidateConfigMethod · 0.95
NewValidatorFunction · 0.85

Tested by

no test coverage detected