(t *testing.T, got, want string)
| 38 | } |
| 39 | |
| 40 | func 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 | |
| 47 | func assertNotContains(t *testing.T, got, want string) { |
| 48 | t.Helper() |
no test coverage detected