Skip to content

Commit aec378b

Browse files
committed
Fix failing wallet command test
1 parent fa9bab1 commit aec378b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

extras/jsonrpc/daemon_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ func TestClient_WalletList(t *testing.T) {
640640
if err == nil {
641641
t.Fatalf("wallet %v was unexpectedly found", id)
642642
}
643-
if err.Error() != fmt.Sprintf("Error in daemon: Couldn't find wallet: %v.", id) {
643+
if !strings.Contains(err.Error(), fmt.Sprintf("Couldn't find wallet: %v.", id)) {
644644
t.Fatal(err)
645645
}
646646

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ require (
4242
golang.org/x/sys v0.0.0-20191009170203-06d7bd2c5f4f // indirect
4343
golang.org/x/text v0.3.2 // indirect
4444
golang.org/x/time v0.0.0-20190921001708-c4c64cad1fd0
45-
google.golang.org/appengine v1.4.0 // indirect
4645
google.golang.org/genproto v0.0.0-20191009194640-548a555dbc03 // indirect
4746
google.golang.org/grpc v1.24.0
4847
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect

0 commit comments

Comments
 (0)