mirror of
https://github.com/araddon/dateparse.git
synced 2024-11-10 11:51:54 +08:00
Merge pull request #85 from egonelbre/remove-mgo
disable timeutils test to prevent depending on mgo
This commit is contained in:
commit
d2ba70357e
@ -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