MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / assertContains

Function assertContains

pkg/transform/where_test.go:40–45  ·  view source on GitHub ↗
(t *testing.T, got, want string)

Source from the content-addressed store, hash-verified

38}
39
40func assertContains(t *testing.T, got, want string) {
41 t.Helper()
42 if !strings.Contains(strings.ToUpper(got), strings.ToUpper(want)) {
43 t.Errorf("expected output to contain %q, got: %s", want, got)
44 }
45}
46
47func assertNotContains(t *testing.T, got, want string) {
48 t.Helper()

Callers 15

TestAddColumnFunction · 0.85
TestRemoveColumnFunction · 0.85
TestReplaceColumnFunction · 0.85
TestAddSelectStarFunction · 0.85
TestReplaceWhereFunction · 0.85
TestAddSetClause_BasicFunction · 0.85

Calls 2

HelperMethod · 0.65
ErrorfMethod · 0.65

Tested by

no test coverage detected