(t *testing.T)
| 464 | } |
| 465 | |
| 466 | func TestEncDrainSupported(t *testing.T) { |
| 467 | s := RunServerOnPort(TEST_PORT) |
| 468 | defer s.Shutdown() |
| 469 | |
| 470 | ec := NewDefaultEConn(t) |
| 471 | err := ec.Drain() |
| 472 | if err != nil { |
| 473 | t.Fatalf("Expected no error calling Drain(), got %v", err) |
| 474 | } |
| 475 | } |
| 476 | |
| 477 | const ENC_TEST_PORT = 8268 |
| 478 |
nothing calls this directly
no test coverage detected