lnwire: fix features_test.go to not reference removed .String() method
This commit is contained in:
parent
3e14c6ee9b
commit
3a647869b6
@ -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…
Reference in New Issue
Block a user