1
0
mirror of https://github.com/alice-lg/alice-lg.git synced 2024-05-11 05:55:03 +00:00
alice-lg-alice-lg/pkg/http/timeconv_test.go
2021-10-27 17:54:51 +00:00

13 lines
192 B
Go

package http
import (
"testing"
"time"
)
func TestDurationMs(t *testing.T) {
if DurationMs(time.Second) != 1000 {
t.Error("duration ms should return the duration in milliseconds")
}
}