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

Function assertNotContains

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

Source from the content-addressed store, hash-verified

309}
310
311func assertNotContains(t *testing.T, args []string, val string) {
312 t.Helper()
313 if slices.Contains(args, val) {
314 t.Errorf("expected args NOT to contain %q, got %v", val, args)
315 }
316}
317
318func assertContainsInOrder(t *testing.T, args []string, vals ...string) {
319 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected