diff --git a/tor/torProvider_test.go b/tor/torProvider_test.go index 1630bf4..3c12575 100644 --- a/tor/torProvider_test.go +++ b/tor/torProvider_test.go @@ -52,10 +52,9 @@ func TestTorProvider(t *testing.T) { t.Fatalf("could not find info for OP server %v", err) } cinfo, exists := info["circuit"] - if !exists { + if !exists || len(cinfo) == 0 { t.Fatalf("could not find circuit info for OP server %v", err) } - t.Logf("Found Cicurit Info %v", cinfo) _, err = acn.GetInfo("not_a_real_onion") if err == nil {