Fix failing wallet command test
This commit is contained in:
parent
fa9bab156a
commit
aec378bb36
2 changed files with 1 additions and 2 deletions
|
@ -640,7 +640,7 @@ func TestClient_WalletList(t *testing.T) {
|
||||||
if err == nil {
|
if err == nil {
|
||||||
t.Fatalf("wallet %v was unexpectedly found", id)
|
t.Fatalf("wallet %v was unexpectedly found", id)
|
||||||
}
|
}
|
||||||
if err.Error() != fmt.Sprintf("Error in daemon: Couldn't find wallet: %v.", id) {
|
if !strings.Contains(err.Error(), fmt.Sprintf("Couldn't find wallet: %v.", id)) {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
1
go.mod
1
go.mod
|
@ -42,7 +42,6 @@ require (
|
||||||
golang.org/x/sys v0.0.0-20191009170203-06d7bd2c5f4f // indirect
|
golang.org/x/sys v0.0.0-20191009170203-06d7bd2c5f4f // indirect
|
||||||
golang.org/x/text v0.3.2 // indirect
|
golang.org/x/text v0.3.2 // indirect
|
||||||
golang.org/x/time v0.0.0-20190921001708-c4c64cad1fd0
|
golang.org/x/time v0.0.0-20190921001708-c4c64cad1fd0
|
||||||
google.golang.org/appengine v1.4.0 // indirect
|
|
||||||
google.golang.org/genproto v0.0.0-20191009194640-548a555dbc03 // indirect
|
google.golang.org/genproto v0.0.0-20191009194640-548a555dbc03 // indirect
|
||||||
google.golang.org/grpc v1.24.0
|
google.golang.org/grpc v1.24.0
|
||||||
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
|
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
|
||||||
|
|
Loading…
Reference in a new issue