fixes on tests that didn't come up in syntax checking

This commit is contained in:
l0k18
2023-07-06 09:26:44 +01:00
parent c8e330f00a
commit 2e01ddf6d2
2 changed files with 0 additions and 6 deletions

View File

@@ -16,7 +16,6 @@ func TestOnions_Confirmation(t *testing.T) {
log2.SetLogLevel(log2.Debug)
}
id := nonce.NewID()
var load byte = 128
on := ont.Assemble([]ont.Onion{New(id)})
s := ont.Encode(on)
s.SetCursor(0)
@@ -40,8 +39,4 @@ func TestOnions_Confirmation(t *testing.T) {
t.Error("Keys did not decode correctly")
t.FailNow()
}
if ci.Load != load {
t.Error("load did not decode correctly")
t.FailNow()
}
}

View File

@@ -71,7 +71,6 @@ func TestDispatcher(t *testing.T) {
d2 := NewDispatcher(<-l2.Accept(), ctx, ks)
var msgp1, msgp2 slice.Bytes
id1, id2 := nonce.NewID(), nonce.NewID()
var load1 byte = 128
// var load2 byte = 32
on1 := ont.Assemble(engine.Skins{
confirmation.New(id1)})