(t *testing.T)
| 35 | } |
| 36 | |
| 37 | func TestProcNetDevSNMP6(t *testing.T) { |
| 38 | p, err := getProcFixtures(t).Proc(26231) |
| 39 | if err != nil { |
| 40 | t.Fatal(err) |
| 41 | } |
| 42 | |
| 43 | procNetDevSNMP6, err := p.NetDevSNMP6() |
| 44 | if err != nil { |
| 45 | t.Fatal(err) |
| 46 | } |
| 47 | |
| 48 | if err := validateNetDevSNMP6(procNetDevSNMP6); err != nil { |
| 49 | t.Error(err.Error()) |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | func validateNetDevSNMP6(have NetDevSNMP6) error { |
| 54 | var wantNetDevSNMP6 = map[string]map[string]uint64{ |
nothing calls this directly
no test coverage detected