mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 06:35:07 +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"
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
||||
// 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.
|
||||
if !reflect.DeepEqual(f.flags, nf.flags) {
|
||||
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