Skip to content

Commit ac29471

Browse files
committed
Fix test expectation
1 parent 260e8e1 commit ac29471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/api/lib_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ func TestGetPinnedMetrics(t *testing.T) {
389389
// GetMetrics 1
390390
metrics, err := GetPinnedMetrics(cache)
391391
require.NoError(t, err)
392-
assert.Equal(t, &types.PinnedMetrics{PerModule: make(map[string]types.PerModuleMetrics, 0)}, metrics)
392+
assert.Equal(t, &types.PinnedMetrics{PerModule: nil}, metrics)
393393

394394
// Store contract 1
395395
wasm, err := os.ReadFile("../../testdata/hackatom.wasm")

0 commit comments

Comments
 (0)