mirror of
https://github.com/araddon/dateparse.git
synced 2024-11-14 11:31:33 +08:00
disable timeutils test to prevent depending on mgo
This commit is contained in:
parent
0d74ffceef
commit
ad79b62a5b
@ -4,8 +4,6 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/simplereach/timeutils"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -44,6 +42,7 @@ func BenchmarkParseAny(b *testing.B) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
func BenchmarkParseDateString(b *testing.B) {
|
func BenchmarkParseDateString(b *testing.B) {
|
||||||
b.ReportAllocs()
|
b.ReportAllocs()
|
||||||
for i := 0; i < b.N; i++ {
|
for i := 0; i < b.N; i++ {
|
||||||
@ -52,6 +51,7 @@ func BenchmarkParseDateString(b *testing.B) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
var (
|
var (
|
||||||
testDates = []string{
|
testDates = []string{
|
||||||
|
Loading…
Reference in New Issue
Block a user