From 76ccb69e28f9481500f026c748d384cca28e013f Mon Sep 17 00:00:00 2001 From: Markus Frosch Date: Fri, 17 Nov 2023 14:21:23 +0100 Subject: [PATCH] test: fix error check after lint cleanup --- pkg/qip/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/qip/client_test.go b/pkg/qip/client_test.go index 49c12bc..a349015 100644 --- a/pkg/qip/client_test.go +++ b/pkg/qip/client_test.go @@ -56,7 +56,7 @@ func TestClient_Login(t *testing.T) { }) err = c.Login("unknown-user", "dummy-password") - require.NoError(t, err) + assert.Error(t, err) //nolint: testifylint var targetErr *qip.HTTPUnauthorizedError