MCPcopy Index your code
hub / github.com/conventionalcommit/commitlint / TestCheck_UnknownFormat

Function TestCheck_UnknownFormat

internal/casing/casing_test.go:197–201  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

195}
196
197func TestCheck_UnknownFormat(t *testing.T) {
198 if casing.Check("anything", "not-a-case") {
199 t.Error("Check with unknown format should return false")
200 }
201}
202
203func TestAll_ContainsAllConstants(t *testing.T) {
204 want := map[string]bool{

Callers

nothing calls this directly

Calls 2

CheckFunction · 0.92
ErrorMethod · 0.80

Tested by

no test coverage detected