From 5689ae4bd655157e3530e9cec85771e11b221ca6 Mon Sep 17 00:00:00 2001 From: Shawn Xie Date: Wed, 31 May 2023 12:30:26 -0400 Subject: [PATCH] close ledger --- src/test/app/Clawback_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/app/Clawback_test.cpp b/src/test/app/Clawback_test.cpp index 9362a6f1a12..8f72068d87c 100644 --- a/src/test/app/Clawback_test.cpp +++ b/src/test/app/Clawback_test.cpp @@ -166,8 +166,8 @@ class Clawback_test : public beast::unit_test::suite // alice now is able to set asfAllowClawback env(fset(alice, asfAllowClawback)); - env.require(flags(alice, asfAllowClawback)); env.close(); + env.require(flags(alice, asfAllowClawback)); BEAST_EXPECT(ownerCount(env, alice) == 0); BEAST_EXPECT(ownerCount(env, bob) == 0); @@ -188,8 +188,8 @@ class Clawback_test : public beast::unit_test::suite // alice attempts to set asfAllowClawback flag while amendment is // disabled. no error is returned, but the flag remains to be unset. env(fset(alice, asfAllowClawback)); - env.require(nflags(alice, asfAllowClawback)); env.close(); + env.require(nflags(alice, asfAllowClawback)); // now enable clawback amendment env.enableFeature(featureClawback); @@ -197,8 +197,8 @@ class Clawback_test : public beast::unit_test::suite // asfAllowClawback can be set env(fset(alice, asfAllowClawback)); - env.require(flags(alice, asfAllowClawback)); env.close(); + env.require(flags(alice, asfAllowClawback)); } }