Skip to content

Commit 9278c18

Browse files
committed
loopdb: add nil check to boltdb liquidity test
This commit adds a nil check to the boltdb liquidity test. There was a difference between the sqlite and boltdb implementation. This test covers that.
1 parent 0826b74 commit 9278c18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

loopdb/store_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,7 @@ func TestLiquidityParams(t *testing.T) {
484484
params, err := store.FetchLiquidityParams(ctxb)
485485
require.NoError(t, err, "failed to fetch params")
486486
require.Empty(t, params, "expect empty bytes")
487+
require.Nil(t, params)
487488

488489
params = []byte("test")
489490

0 commit comments

Comments
 (0)