mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +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:
@@ -59,7 +59,7 @@ struct Regression_test : public beast::unit_test::suite
|
||||
OpenView accum(&*next);
|
||||
|
||||
auto const result = xrpl::apply(env.app(), accum, *jt.stx, tapNONE, env.journal);
|
||||
BEAST_EXPECT(result.ter == tesSUCCESS);
|
||||
BEAST_EXPECT(isTesSuccess(result.ter));
|
||||
BEAST_EXPECT(result.applied);
|
||||
|
||||
accum.apply(*next);
|
||||
|
||||
Reference in New Issue
Block a user