Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jayy04 committed Jan 11, 2025
1 parent 1c35383 commit 6dcdcae
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions protocol/x/clob/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6dcdcae

Please sign in to comment.