From ef59b1241f7a102908352f3529784c99d1fac237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sat, 13 Sep 2025 20:41:37 +0200 Subject: [PATCH] Fix tests --- rfctime/rfc3339Nano_test.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/rfctime/rfc3339Nano_test.go b/rfctime/rfc3339Nano_test.go index a2cb03e..08323c9 100644 --- a/rfctime/rfc3339Nano_test.go +++ b/rfctime/rfc3339Nano_test.go @@ -2,10 +2,11 @@ package rfctime import ( "encoding/json" - "git.blackforestbytes.com/BlackForestBytes/goext/timeext" - "git.blackforestbytes.com/BlackForestBytes/goext/tst" "testing" "time" + + "git.blackforestbytes.com/BlackForestBytes/goext/timeext" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" ) 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\"}" { - t.Errorf(string(jstr1)) - t.Errorf("repr differs") + t.Error(string(jstr1)) + t.Error("repr differs") } w2 := Wrap{}