icinga

Icinga2 API client in Go
git clone https://git.olowe.co/icinga
Log | Files | Refs | README | LICENSE

commit e35b73d5e39c5601f8db91e5dc8fc38642d1dea4
parent 0324b0fdd256bf328e1eab17200b23aa803d0bd5
Author: Oliver Lowe <o@olowe.co>
Date:   Wed,  2 Feb 2022 15:25:48 +1100

Only log on test error

No news is good news!

Diffstat:
Muser_test.go | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/user_test.go b/user_test.go @@ -32,7 +32,6 @@ func TestUserMarshal(t *testing.T) { t.Fatal(err) } if string(got) != want { - t.Fail() + t.Errorf("want %s got %s", want, got) } - t.Logf("want %s, got %s", want, got) }