Skip to content

Commit 03378f8

Browse files
committed
itest: fix wording "over" -> "for"
This is a German phrasing that made it into English... Since we will change the error message (and fix it) in tapd, we want to make sure that our itest doesn't fail on that.
1 parent 42a6cf2 commit 03378f8

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

itest/assets_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ func createAssetInvoice(t *testing.T, dstRfqPeer, dst *HarnessNode,
11441144
AssetAmount: assetAmount,
11451145
PeerPubkey: dstRfqPeer.PubKey[:],
11461146
InvoiceRequest: &lnrpc.Invoice{
1147-
Memo: fmt.Sprintf("this is an asset invoice over "+
1147+
Memo: fmt.Sprintf("this is an asset invoice for "+
11481148
"%d units", assetAmount),
11491149
Expiry: timeoutSeconds,
11501150
},
@@ -1291,7 +1291,7 @@ func createAssetHodlInvoice(t *testing.T, dstRfqPeer, dst *HarnessNode,
12911291
timeoutSeconds := int64(rfq.DefaultInvoiceExpiry.Seconds())
12921292

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

12971297
dstTapd := newTapClient(t, dst)
@@ -1309,7 +1309,7 @@ func createAssetHodlInvoice(t *testing.T, dstRfqPeer, dst *HarnessNode,
13091309
AssetAmount: assetAmount,
13101310
PeerPubkey: dstRfqPeer.PubKey[:],
13111311
InvoiceRequest: &lnrpc.Invoice{
1312-
Memo: fmt.Sprintf("this is an asset invoice over "+
1312+
Memo: fmt.Sprintf("this is an asset invoice for "+
13131313
"%d units", assetAmount),
13141314
Expiry: timeoutSeconds,
13151315
},

itest/litd_custom_channels_test.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -1977,8 +1977,7 @@ func testCustomChannelsLiquidityEdgeCases(ctx context.Context,
19771977
// channels, where the total asset value is less than the default anchor
19781978
// amount of 354 sats.
19791979
createAssetInvoice(t.t, dave, charlie, 1, assetID, withInvoiceErrSubStr(
1980-
"cannot create invoice over 1 asset units, as the minimal "+
1981-
"transportable amount",
1980+
"1 asset units, as the minimal transportable amount",
19821981
))
19831982

19841983
logBalance(t.t, nodes, assetID, "after small payment (asset "+

0 commit comments

Comments
 (0)