multi: migrate assert.NoError to require.NoError
This commit is contained in:
1 parent
4cb68e4de3
commit
834756c53c
4 files changed
+5
-7
No files matched your search
@@ -87,7 +87,7 @@ func TestPaymentControlSwitchFail(t *testing.T) {
|
||||
// Lookup the payment so we can get its old sequence number before it is
|
||||
// overwritten.
|
||||
payment, err := pControl.FetchPayment(info.PaymentIdentifier)
|
||||
assert.NoError(t, err)
|
||||
require.NoError(t, err)
|
||||
|
||||
// Sends the htlc again, which should succeed since the prior payment
|
||||
// failed.
|
||||
|
||||
Reference in new issue
Block a user