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

Function assertNotContains

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

Source from the content-addressed store, hash-verified

293}
294
295func assertNotContains(t *testing.T, args []string, val string) {
296 t.Helper()
297 if slices.Contains(args, val) {
298 t.Errorf("expected args NOT to contain %q, got %v", val, args)
299 }
300}
301
302func assertContainsInOrder(t *testing.T, args []string, vals ...string) {
303 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected