mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 16:56:48 +00:00
refactor: Replace !=/== tesSuccess with using isTesSuccess (#6409)
This change replaces all instances of `<variable> != tesSUCCESS` with `!isTesSuccess(<variable>)` and `<variable> == tesSUCCESS` with `isTesSuccess(<variable>)`.
This commit is contained in:
@@ -812,7 +812,7 @@ struct XChain_test : public beast::unit_test::suite, public jtx::XChainBridgeObj
|
||||
scEnv.tx(create_bridge(b, bridge(a, ia, b, ib)), ter(TER::fromInt(expected.second)));
|
||||
TER scTER = scEnv.env_.ter();
|
||||
|
||||
bool pass = mcTER == tesSUCCESS && scTER == tesSUCCESS;
|
||||
bool pass = isTesSuccess(mcTER) && isTesSuccess(scTER);
|
||||
|
||||
test_result.emplace_back(mcTER, scTER, pass);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user