(source []string, toFind string)
| 508 | } |
| 509 | |
| 510 | func findInSlice(source []string, toFind string) bool { |
| 511 | for _, text := range source { |
| 512 | if text == toFind { |
| 513 | return true |
| 514 | } |
| 515 | } |
| 516 | return false |
| 517 | } |
| 518 | |
| 519 | func TestPhoneNumbers(t *testing.T) { |
| 520 | CheckPhoneNumber(PhoneNumber(), t) |
no outgoing calls
no test coverage detected
searching dependent graphs…