File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -1101,7 +1101,6 @@ func TestDefaultHWAddrFunc(t *testing.T) {
1101
1101
}
1102
1102
1103
1103
func BenchmarkGenerator (b * testing.B ) {
1104
- b .ReportAllocs ()
1105
1104
b .Run ("NewV1" , func (b * testing.B ) {
1106
1105
for i := 0 ; i < b .N ; i ++ {
1107
1106
NewV1 ()
Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ func TestTimestampFromV7(t *testing.T) {
284
284
}
285
285
}
286
286
287
- func TestTimestampMinMaxV167 (t * testing.T ) {
287
+ func TestMinMaxTimestamps (t * testing.T ) {
288
288
tests := []struct {
289
289
u UUID
290
290
want time.Time
@@ -359,8 +359,6 @@ var timestampBenchmarkSink Timestamp
359
359
var timeBenchmarkSink time.Time
360
360
361
361
func BenchmarkTimestampFrom (b * testing.B ) {
362
- b .ReportAllocs ()
363
-
364
362
var err error
365
363
numbUUIDs := 1000
366
364
if testing .Short () {
@@ -400,8 +398,6 @@ func BenchmarkTimestampFrom(b *testing.B) {
400
398
}
401
399
402
400
func BenchmarkTimestampTime (b * testing.B ) {
403
- b .ReportAllocs ()
404
-
405
401
var err error
406
402
numbUUIDs := 1000
407
403
if testing .Short () {
You can’t perform that action at this time.
0 commit comments