1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-04 12:52:28 +08:00

refactor: rewrite all unit test functions with assert

This commit is contained in:
dudaodong
2022-01-09 15:49:52 +08:00
parent 1199c30ef3
commit 23701e6998

View File

@@ -24,6 +24,9 @@ func TestWatcher(t *testing.T) {
assert.Equal(false, w.excuting) assert.Equal(false, w.excuting)
w.Reset() w.Reset()
assert.Equal(int64(0), w.startTime)
assert.Equal(int64(0), w.stopTime)
} }
func longRunningTask() { func longRunningTask() {