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:
Mayukha Vadari
2026-03-18 10:15:10 -04:00
committed by GitHub
parent 6fbeb04d9e
commit dcaef828b4
60 changed files with 178 additions and 177 deletions

View File

@@ -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);
};