multi: migrate assert.NoError to require.NoError

This commit is contained in:
Tommy Volk committed 2022-07-05 16:41:08 +00:00
1 parent 4cb68e4de3
commit 834756c53c
4 files changed
+5 -7

No files matched your search

+1 -1
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.