Skip to content

itest: fix wording "over" -> "for" #1040

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions itest/assets_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ func createAssetInvoice(t *testing.T, dstRfqPeer, dst *HarnessNode,
AssetAmount: assetAmount,
PeerPubkey: dstRfqPeer.PubKey[:],
InvoiceRequest: &lnrpc.Invoice{
Memo: fmt.Sprintf("this is an asset invoice over "+
Memo: fmt.Sprintf("this is an asset invoice for "+
"%d units", assetAmount),
Expiry: timeoutSeconds,
},
Expand Down Expand Up @@ -1291,7 +1291,7 @@ func createAssetHodlInvoice(t *testing.T, dstRfqPeer, dst *HarnessNode,
timeoutSeconds := int64(rfq.DefaultInvoiceExpiry.Seconds())

t.Logf("Asking peer %x for quote to buy assets to receive for "+
"invoice over %d units; waiting up to %ds",
"invoice for %d units; waiting up to %ds",
dstRfqPeer.PubKey[:], assetAmount, timeoutSeconds)

dstTapd := newTapClient(t, dst)
Expand All @@ -1309,7 +1309,7 @@ func createAssetHodlInvoice(t *testing.T, dstRfqPeer, dst *HarnessNode,
AssetAmount: assetAmount,
PeerPubkey: dstRfqPeer.PubKey[:],
InvoiceRequest: &lnrpc.Invoice{
Memo: fmt.Sprintf("this is an asset invoice over "+
Memo: fmt.Sprintf("this is an asset invoice for "+
"%d units", assetAmount),
Expiry: timeoutSeconds,
},
Expand Down
3 changes: 1 addition & 2 deletions itest/litd_custom_channels_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1977,8 +1977,7 @@ func testCustomChannelsLiquidityEdgeCases(ctx context.Context,
// channels, where the total asset value is less than the default anchor
// amount of 354 sats.
createAssetInvoice(t.t, dave, charlie, 1, assetID, withInvoiceErrSubStr(
"cannot create invoice over 1 asset units, as the minimal "+
"transportable amount",
"1 asset units, as the minimal transportable amount",
))

logBalance(t.t, nodes, assetID, "after small payment (asset "+
Expand Down
Loading