mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 07:10:53 +00:00
chore: Rename CamelCase namespaces to snake_case (#7933)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -3936,7 +3936,7 @@ class Vault_test : public beast::unit_test::Suite
|
||||
// Deposit 100 IOU → 1000 shares. Borrow 40 → assetsAvailable=60.
|
||||
// Clawback 80 IOU → clamped to 60, then share math uses truncation.
|
||||
testCase(1, [&, this](Env& env, Data d) {
|
||||
using namespace loanBroker;
|
||||
using namespace loan_broker;
|
||||
using namespace loan;
|
||||
|
||||
testcase("Scale clawback clamped with outstanding loan");
|
||||
@@ -4410,7 +4410,7 @@ class Vault_test : public beast::unit_test::Suite
|
||||
testVaultClawbackBurnShares()
|
||||
{
|
||||
using namespace test::jtx;
|
||||
using namespace loanBroker;
|
||||
using namespace loan_broker;
|
||||
using namespace loan;
|
||||
Env env(*this, beast::Severity::Warning);
|
||||
|
||||
@@ -4670,7 +4670,7 @@ class Vault_test : public beast::unit_test::Suite
|
||||
testVaultClawbackAssets()
|
||||
{
|
||||
using namespace test::jtx;
|
||||
using namespace loanBroker;
|
||||
using namespace loan_broker;
|
||||
using namespace loan;
|
||||
Env env(*this);
|
||||
env.enableFeature(fixCleanup3_1_3);
|
||||
@@ -6093,7 +6093,7 @@ class Vault_test : public beast::unit_test::Suite
|
||||
// Loan broker: no cover, no management fee, debt cap 10x principal.
|
||||
f.brokerID = keylet::loanBroker(f.lender.id(), env.seq(f.lender)).key;
|
||||
{
|
||||
using namespace loanBroker;
|
||||
using namespace loan_broker;
|
||||
env(set(f.lender, vaultKeylet.key),
|
||||
kDebtMaximum((*f.asset)(kStuckPrincipal * 10).value()));
|
||||
env.close();
|
||||
|
||||
Reference in New Issue
Block a user