formatting

This commit is contained in:
Vito
2026-02-12 16:10:37 +01:00
parent a14541a335
commit 0bc67c8b01

View File

@@ -5017,7 +5017,7 @@ class Vault_test : public beast::unit_test::suite
};
auto const all = testable_amendments();
// Test VaultDelete with fixLendingProtocolV1_1 disabled
// Transaction fails if the data field is provided
test(
@@ -5025,17 +5025,16 @@ class Vault_test : public beast::unit_test::suite
all - fixLendingProtocolV1_1,
std::string(maxDataPayloadLength, 'A'),
temDISABLED);
// Transaction fails if the data field is too large
test(
"fixLendingProtocolV1_1 enabled data too large",
all,
std::string(maxDataPayloadLength + 1, 'A'),
temMALFORMED);
// Transaction fails if the data field is set, but is empty
test("fixLendingProtocolV1_1 enabled data empty", all, std::string(0, 'A'), temMALFORMED);
test("fixLendingProtocolV1_1 enabled data valid", all, std::string(maxDataPayloadLength, 'A'), tesSUCCESS);
}