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

Function assertNotContains

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

Source from the content-addressed store, hash-verified

498}
499
500func assertNotContains(t *testing.T, args []string, val string) {
501 t.Helper()
502 if slices.Contains(args, val) {
503 t.Errorf("expected args NOT to contain %q, got %v", val, args)
504 }
505}
506
507func assertContainsInOrder(t *testing.T, args []string, vals ...string) {
508 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected