mirror of https://github.com/q191201771/lal.git
fix Go 1.14 build
parent
46c0b47911
commit
6dff63cbfd
@ -0,0 +1,20 @@
|
|||||||
|
// Copyright 2022, Chef. All rights reserved.
|
||||||
|
// https://github.com/q191201771/lal
|
||||||
|
//
|
||||||
|
// Use of this source code is governed by a MIT-style license
|
||||||
|
// that can be found in the License file.
|
||||||
|
//
|
||||||
|
// Author: Chef (191201771@qq.com)
|
||||||
|
|
||||||
|
package base
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/q191201771/naza/pkg/assert"
|
||||||
|
"testing"
|
||||||
|
"time"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestUnixMilli(t *testing.T) {
|
||||||
|
n := time.Now()
|
||||||
|
assert.Equal(t, n.UnixMilli(), UnixMilli(n))
|
||||||
|
}
|
Loading…
Reference in New Issue