(t *testing.T)
| 53 | } |
| 54 | |
| 55 | func TestStartRpcServerNegativePort(t *testing.T) { |
| 56 | n := &Node{} |
| 57 | |
| 58 | // A zero value port allows any port binding. |
| 59 | if err := n.initRpcServer(-1); err == nil { |
| 60 | t.Error("newRpcServer(-1) should return an error") |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | func TestExit(t *testing.T) { |
| 65 | n, err := defaultTestNode() |
nothing calls this directly
no test coverage detected