fixes on tests that didn't come up in syntax checking
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)})
|
||||
|
||||
Reference in New Issue
Block a user