We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77b2bdd commit 55070c7Copy full SHA for 55070c7
utils/time_test.go
@@ -4,13 +4,11 @@ import (
4
"sync/atomic"
5
"testing"
6
"time"
7
-
8
- "github.com/stretchr/testify/require"
9
)
10
11
func checkTimeStamp(t testing.TB, expectedCurrent, actualCurrent uint32) {
12
// test with some buffer in front and back of the expectedCurrent time -> because of the timing on the work machine
13
- require.Equal(t, true, actualCurrent >= expectedCurrent-1 || actualCurrent <= expectedCurrent+1)
+ AssertEqual(t, true, actualCurrent >= expectedCurrent-1 || actualCurrent <= expectedCurrent+1)
14
}
15
16
func Test_TimeStampUpdater(t *testing.T) {
0 commit comments