File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -978,8 +978,8 @@ class Vault_test : public beast::unit_test::suite
978978 env (tx);
979979 env.close ();
980980 auto const sleVault = env.le (keylet);
981- if (BEAST_EXPECT (sleVault))
982- ;
981+ if (! BEAST_EXPECT (sleVault))
982+ return ;
983983 BEAST_EXPECT ((*sleVault)[sfScale] == 13 );
984984 }
985985
@@ -990,7 +990,8 @@ class Vault_test : public beast::unit_test::suite
990990 env (tx);
991991 env.close ();
992992 auto const sleVault = env.le (keylet);
993- BEAST_EXPECT (sleVault);
993+ if (!BEAST_EXPECT (sleVault))
994+ return ;
994995 BEAST_EXPECT ((*sleVault)[sfScale] == 0 );
995996 }
996997
@@ -1000,7 +1001,8 @@ class Vault_test : public beast::unit_test::suite
10001001 env (tx);
10011002 env.close ();
10021003 auto const sleVault = env.le (keylet);
1003- BEAST_EXPECT (sleVault);
1004+ if (!BEAST_EXPECT (sleVault))
1005+ return ;
10041006 BEAST_EXPECT ((*sleVault)[sfScale] == 6 );
10051007 }
10061008 });
You can’t perform that action at this time.
0 commit comments