mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 14:40:30 +01:00
lnwire: fix features_test.go to not reference removed .String() method
This commit is contained in:
parent
3e14c6ee9b
commit
3a647869b6
1 changed files with 5 additions and 3 deletions
|
@ -4,6 +4,8 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/davecgh/go-spew/spew"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestFeaturesRemoteRequireError checks that we throw an error if remote peer
|
// TestFeaturesRemoteRequireError checks that we throw an error if remote peer
|
||||||
|
@ -112,6 +114,6 @@ func TestDecodeEncodeFeaturesVector(t *testing.T) {
|
||||||
// Assert equality of the two instances.
|
// Assert equality of the two instances.
|
||||||
if !reflect.DeepEqual(f.flags, nf.flags) {
|
if !reflect.DeepEqual(f.flags, nf.flags) {
|
||||||
t.Fatalf("encode/decode feature vector don't match %v vs "+
|
t.Fatalf("encode/decode feature vector don't match %v vs "+
|
||||||
"%v", f.String(), nf.String())
|
"%v", spew.Sdump(f), spew.Sdump(nf))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue