Skip to content

Commit 140c2f0

Browse files
committed
Fix type conversion assertion
1 parent 96f48b9 commit 140c2f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stats_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ func TestGetStats(t *testing.T) {
5858

5959
assert.Nil(t, err)
6060

61-
assert.Equal(t, data["total_count"].(float64), 1)
61+
assert.Equal(t, data["total_count"].(float64), float64(1))
6262
}

0 commit comments

Comments
 (0)