Fix tests
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m14s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m14s
This commit is contained in:
@@ -2,10 +2,11 @@ package rfctime
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"git.blackforestbytes.com/BlackForestBytes/goext/timeext"
|
|
||||||
"git.blackforestbytes.com/BlackForestBytes/goext/tst"
|
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"git.blackforestbytes.com/BlackForestBytes/goext/timeext"
|
||||||
|
"git.blackforestbytes.com/BlackForestBytes/goext/tst"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestRoundtrip(t *testing.T) {
|
func TestRoundtrip(t *testing.T) {
|
||||||
@@ -23,8 +24,8 @@ func TestRoundtrip(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if string(jstr1) != "{\"v\":\"2023-02-09T15:05:56.820915171+01:00\"}" {
|
if string(jstr1) != "{\"v\":\"2023-02-09T15:05:56.820915171+01:00\"}" {
|
||||||
t.Errorf(string(jstr1))
|
t.Error(string(jstr1))
|
||||||
t.Errorf("repr differs")
|
t.Error("repr differs")
|
||||||
}
|
}
|
||||||
|
|
||||||
w2 := Wrap{}
|
w2 := Wrap{}
|
||||||
|
Reference in New Issue
Block a user