From 6dcdcaedee96faeea32edc7396b01233ec096efe Mon Sep 17 00:00:00 2001 From: Jay Yu <103467857+jayy04@users.noreply.github.com> Date: Fri, 10 Jan 2025 20:43:21 -0500 Subject: [PATCH] fix test --- protocol/x/clob/keeper/keeper_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/protocol/x/clob/keeper/keeper_test.go b/protocol/x/clob/keeper/keeper_test.go index f92d00bc7b..1c594dc323 100644 --- a/protocol/x/clob/keeper/keeper_test.go +++ b/protocol/x/clob/keeper/keeper_test.go @@ -31,10 +31,7 @@ func TestInitMemStore_OnlyAllowedOnce(t *testing.T) { ks.ClobKeeper.InitMemStore(ks.Ctx) - // Initializing a second time causes a panic - require.Panics(t, func() { - ks.ClobKeeper.InitMemStore(ks.Ctx) - }) + require.True(t, ks.ClobKeeper.GetMemstoreInitialized(ks.Ctx)) } func TestInitMemStore_StatefulOrderCount(t *testing.T) {