mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 23:20:33 +00:00
Address AI review feedback, and fix AI screwups
- Pad base_uint::operator= with 0s. - Add more base_uint tests for operator=, and simplify the "death" error match. - Put back some } that AI suggestions removed, and I didn't notice when I took the suggestions..
This commit is contained in:
@@ -175,8 +175,8 @@ public:
|
||||
auto const result = env.rpc("json", "sign", to_string(req))[jss::result];
|
||||
|
||||
BEAST_EXPECT(result[jss::error] == "invalidParams");
|
||||
BEAST_EXPECT(
|
||||
result[jss::error_message] == "Field 'tx_json.Asset' has invalid data.");
|
||||
BEAST_EXPECT(result[jss::error_message] == "Field 'tx_json.Asset' has invalid data.");
|
||||
}
|
||||
|
||||
void
|
||||
testNoAccountIssuer()
|
||||
@@ -248,8 +248,8 @@ public:
|
||||
auto const result = env.rpc("json", "sign", to_string(req))[jss::result];
|
||||
|
||||
BEAST_EXPECT(result[jss::error] == "invalidParams");
|
||||
BEAST_EXPECT(
|
||||
result[jss::error_message] == "Field 'tx_json.Asset' has invalid data.");
|
||||
BEAST_EXPECT(result[jss::error_message] == "Field 'tx_json.Asset' has invalid data.");
|
||||
}
|
||||
|
||||
void
|
||||
testXrpAccountIssuer()
|
||||
|
||||
Reference in New Issue
Block a user