mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-10-20 23:39:47 +00:00
more cleanup and fix a busyloop when the admin socket is shut down
This commit is contained in:
@@ -142,7 +142,7 @@ func TestCore_Start_Transfer(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if bytes.Compare(msg, buf) != 0 {
|
||||
if !bytes.Equal(msg, buf) {
|
||||
t.Fatal("expected echo")
|
||||
}
|
||||
<-done
|
||||
|
Reference in New Issue
Block a user