Skip to content

Commit

Permalink
feat: allow use more time
Browse files Browse the repository at this point in the history
5aaee9 committed Aug 11, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 02bf8ef commit 2df85e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/time/func_test.go
Original file line number Diff line number Diff line change
@@ -12,5 +12,5 @@ func TestMeasureFuncTime(t *testing.T) {
time.Sleep(time.Second * 2)
})

assert.Equal(t, 2000, int(ret/time.Millisecond))
assert.Equal(t, 400, int(ret/time.Millisecond/5))
}

0 comments on commit 2df85e9

Please sign in to comment.