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

Function assertNotContains

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

Source from the content-addressed store, hash-verified

444}
445
446func assertNotContains(t *testing.T, args []string, val string) {
447 t.Helper()
448 if slices.Contains(args, val) {
449 t.Errorf("expected args NOT to contain %q, got %v", val, args)
450 }
451}
452
453func assertContainsInOrder(t *testing.T, args []string, vals ...string) {
454 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected