icmp: use subtests
This change reorganizes the existing test cases for supporting new messages and extension in upcoming CLs. It also renames ping_test.go to diag_test.go for clarification. Updates golang/go#24440. Change-Id: I5753a2ddbe76423d996a37f583fcf32b65d380e9 Reviewed-on: https://go-review.googlesource.com/63995Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Showing
Please
register
or
sign in
to comment