MCPcopy
hub / github.com/golang/net / TestICMPString

Function TestICMPString

ipv6/icmp_test.go:27–34  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

25}
26
27func TestICMPString(t *testing.T) {
28 for _, tt := range icmpStringTests {
29 s := tt.in.String()
30 if s != tt.out {
31 t.Errorf("got %s; want %s", s, tt.out)
32 }
33 }
34}
35
36func TestICMPFilter(t *testing.T) {
37 switch runtime.GOOS {

Callers

nothing calls this directly

Calls 2

StringMethod · 0.65
ErrorfMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…