(t *testing.T)
| 25 | } |
| 26 | |
| 27 | func 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 | |
| 36 | func TestICMPFilter(t *testing.T) { |
| 37 | switch runtime.GOOS { |