From 00ca301ebaf8b8ed0bb31c9f9476720c76385666 Mon Sep 17 00:00:00 2001 From: Samuele Musiani Date: Fri, 26 Jul 2024 21:01:56 +0200 Subject: [PATCH] fix tests --- commands/uni_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/uni_test.go b/commands/uni_test.go index e0c2507..f1f18cd 100644 --- a/commands/uni_test.go +++ b/commands/uni_test.go @@ -150,6 +150,7 @@ func TestGetTimeTable(t *testing.T) { if err != nil && !tt.error { t.Errorf("GetTimeTable() error = %v", err) return + } else if got == "" { } else { got = strings.ReplaceAll(got, " ", "") want := strings.ReplaceAll(tt.want, " ", "")