MCPcopy Create free account
hub / github.com/alibaba/open-code-review / assertNotContains

Function assertNotContains

internal/tool/code_search_test.go:368–373  ·  view source on GitHub ↗
(t *testing.T, args []string, val string)

Source from the content-addressed store, hash-verified

366}
367
368func assertNotContains(t *testing.T, args []string, val string) {
369 t.Helper()
370 if slices.Contains(args, val) {
371 t.Errorf("expected args NOT to contain %q, got %v", val, args)
372 }
373}
374
375func assertContainsInOrder(t *testing.T, args []string, vals ...string) {
376 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected