(t *testing.T, got, expected string)
| 72 | } |
| 73 | |
| 74 | func checkStringContains(t *testing.T, got, expected string) { |
| 75 | if !strings.Contains(got, expected) { |
| 76 | t.Errorf("Expected to contain: \n %v\nGot:\n %v\n", expected, got) |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | func checkStringOmits(t *testing.T, got, expected string) { |
| 81 | if strings.Contains(got, expected) { |
no outgoing calls
no test coverage detected