multi: migrate assert.NoError to require.NoError

This commit is contained in:
Tommy Volk
2022-06-11 21:04:50 +00:00
parent 4cb68e4de3
commit 834756c53c
4 changed files with 5 additions and 7 deletions

View File

@@ -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.