mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2025-10-29 09:15:33 +00:00
read XSDTime w/o alloc
This commit is contained in:
@@ -20,7 +20,7 @@ var tests = []Test{
|
||||
{"--12-31", XSDDate{Month: 12, Day: 31}, GMonthDay},
|
||||
}
|
||||
|
||||
func TestParse(t *testing.T) {
|
||||
func TestXSDTimeParse(t *testing.T) {
|
||||
for _, test := range tests {
|
||||
dt, err := New(test.Input)
|
||||
if err != nil {
|
||||
@@ -54,7 +54,7 @@ func TestParse(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestString(t *testing.T) {
|
||||
func TestXSDTimeString(t *testing.T) {
|
||||
for _, test := range tests {
|
||||
dt, err := New(test.Input)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user