mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
refactor: Fix spelling issues in all variables/functions (#6184)
This change fixes many typos in comments, variables, and public functions. There is no functionality change.
This commit is contained in:
@@ -975,7 +975,7 @@ class MPToken_test : public beast::unit_test::suite
|
||||
sendmax(XRP(100)),
|
||||
ter(temMALFORMED));
|
||||
env(pay(alice, carol, MPT(100)),
|
||||
delivermin(XRP(100)),
|
||||
deliver_min(XRP(100)),
|
||||
ter(temBAD_AMOUNT));
|
||||
// sendMax MPT is invalid with IOU or XRP
|
||||
auto const USD = alice["USD"];
|
||||
@@ -986,10 +986,10 @@ class MPToken_test : public beast::unit_test::suite
|
||||
sendmax(MPT(100)),
|
||||
ter(temMALFORMED));
|
||||
env(pay(alice, carol, USD(100)),
|
||||
delivermin(MPT(100)),
|
||||
deliver_min(MPT(100)),
|
||||
ter(temBAD_AMOUNT));
|
||||
env(pay(alice, carol, XRP(100)),
|
||||
delivermin(MPT(100)),
|
||||
deliver_min(MPT(100)),
|
||||
ter(temBAD_AMOUNT));
|
||||
// sendmax and amount are different MPT issue
|
||||
test::jtx::MPT const MPT1(
|
||||
@@ -1535,13 +1535,13 @@ class MPToken_test : public beast::unit_test::suite
|
||||
// deliver amount < deliverMin
|
||||
env(pay(bob, alice, MPT(100)),
|
||||
sendmax(MPT(99)),
|
||||
delivermin(MPT(100)),
|
||||
deliver_min(MPT(100)),
|
||||
txflags(tfPartialPayment),
|
||||
ter(tecPATH_PARTIAL));
|
||||
// Payment succeeds if deliver amount >= deliverMin
|
||||
env(pay(bob, alice, MPT(100)),
|
||||
sendmax(MPT(99)),
|
||||
delivermin(MPT(99)),
|
||||
deliver_min(MPT(99)),
|
||||
txflags(tfPartialPayment));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user