mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
test: Check for some unlikely null dereferences in tests (#5004)
This commit is contained in:
@@ -41,7 +41,7 @@ public:
|
||||
env.fund(XRP(10000), noripple(alice));
|
||||
// ask for the ledger entry - account root, to check its flags
|
||||
auto const jrr = env.le(alice);
|
||||
BEAST_EXPECT((*env.le(alice))[sfFlags] == 0u);
|
||||
BEAST_EXPECT(jrr && jrr->at(sfFlags) == 0u);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user