mirror of
https://github.com/go-i2p/goSam.git
synced 2025-06-09 01:25:33 -04:00
Always send Hello on NewClient
This commit is contained in:
@ -11,8 +11,6 @@ func TestClientLookupInvalid(t *testing.T) {
|
||||
setup()
|
||||
defer teardown()
|
||||
|
||||
client.Hello()
|
||||
|
||||
addr, err := client.Lookup("abci2p")
|
||||
if addr != "" || err == nil {
|
||||
t.Error("client.Lookup() should throw an error.")
|
||||
@ -30,8 +28,6 @@ func ExampleClient_Lookup() {
|
||||
setup()
|
||||
defer teardown()
|
||||
|
||||
client.Hello()
|
||||
|
||||
_, err = client.Lookup("zzz.i2p")
|
||||
if err != nil {
|
||||
fmt.Printf("client.Lookup() should not throw an error.\n%s\n", err)
|
||||
|
Reference in New Issue
Block a user