(t *testing.T)
| 71 | } |
| 72 | |
| 73 | func TestLoop_SetAddressAndName(t *testing.T) { |
| 74 | l := New(".") |
| 75 | l.setAddress("127.0.0.1:1053") |
| 76 | if l.address() != "127.0.0.1:1053" { |
| 77 | t.Fatalf("expected address to be set") |
| 78 | } |
| 79 | if l.Name() != "loop" { |
| 80 | t.Fatalf("expected Name() to be 'loop', got %q", l.Name()) |
| 81 | } |
| 82 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…