refactor: Fix spelling issues in tests (#6199)

This change removes the `src/tests` exception from the `cspell` config and fixes all the issues that arise as a result. No functionality/test change.
This commit is contained in:
Mayukha Vadari
2026-02-06 15:30:22 -05:00
committed by GitHub
parent f5208fc850
commit bf4674f42b
38 changed files with 256 additions and 238 deletions

View File

@@ -172,12 +172,12 @@ public:
std::string usdTxBlob = "";
auto wsc = makeWSClient(env.app().config());
{
Json::Value jrequestUsd;
jrequestUsd[jss::secret] = toBase58(generateSeed("bob"));
jrequestUsd[jss::tx_json] = pay("bob", "alice", bob["USD"](fund / 2));
Json::Value jreply_usd = wsc->invoke("sign", jrequestUsd);
Json::Value requestUSD;
requestUSD[jss::secret] = toBase58(generateSeed("bob"));
requestUSD[jss::tx_json] = pay("bob", "alice", bob["USD"](fund / 2));
Json::Value replyUSD = wsc->invoke("sign", requestUSD);
usdTxBlob = toBinary(jreply_usd[jss::result][jss::tx_blob].asString());
usdTxBlob = toBinary(replyUSD[jss::result][jss::tx_blob].asString());
}
auto transaction = std::make_shared<protocol::TMTransaction>();