diff --git a/pkg/node/lethean_test.go b/pkg/node/lethean_test.go index 835d049..cf0aca9 100644 --- a/pkg/node/lethean_test.go +++ b/pkg/node/lethean_test.go @@ -63,21 +63,21 @@ func TestParseComment_Ugly(t *testing.T) { } } -func TestGetChainInfo_Bad_WrongURL(t *testing.T) { +func TestGetChainInfo_Bad(t *testing.T) { _, err := GetChainInfo("http://127.0.0.1:19999") if err == nil { t.Error("expected error for unreachable daemon") } } -func TestDiscoverPools_Bad_WrongURL(t *testing.T) { +func TestDiscoverPools_Bad(t *testing.T) { pools := DiscoverPools("http://127.0.0.1:19999") if len(pools) != 0 { t.Errorf("expected 0 pools for unreachable daemon, got %d", len(pools)) } } -func TestDiscoverGateways_Bad_WrongURL(t *testing.T) { +func TestDiscoverGateways_Bad(t *testing.T) { gateways := DiscoverGateways("http://127.0.0.1:19999") if len(gateways) != 0 { t.Errorf("expected 0 gateways for unreachable daemon, got %d", len(gateways))