(t *testing.T, found, unexpected string)
| 25 | ) |
| 26 | |
| 27 | func checkOmit(t *testing.T, found, unexpected string) { |
| 28 | if strings.Contains(found, unexpected) { |
| 29 | t.Errorf("Got: %q\nBut should not have!\n", unexpected) |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | func check(t *testing.T, found, expected string) { |
| 34 | if !strings.Contains(found, expected) { |
no outgoing calls
no test coverage detected