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

@@ -3089,7 +3089,7 @@ private:
PreflightContext pfCtx(
env.app(), *jtx.stx, env.current()->rules(), tapNONE, env.journal);
auto pf = Transactor::invokePreflight<AMMBid>(pfCtx);
BEAST_EXPECT(pf != tesSUCCESS);
BEAST_EXPECT(!isTesSuccess(pf));
}
{