From 81663ed3c1dabe12a5c26166e3bce8ab72d4a055 Mon Sep 17 00:00:00 2001 From: Pavel Zorin Date: Tue, 24 Oct 2023 13:48:32 +0200 Subject: [PATCH] Add err message to upgrade test --- internal/pkg/agent/application/upgrade/upgrade_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/agent/application/upgrade/upgrade_test.go b/internal/pkg/agent/application/upgrade/upgrade_test.go index edbf1dd9b6a..d8de6923cfe 100644 --- a/internal/pkg/agent/application/upgrade/upgrade_test.go +++ b/internal/pkg/agent/application/upgrade/upgrade_test.go @@ -99,7 +99,7 @@ func Test_CopyFile(t *testing.T) { } err := copyDir(l, tc.From, tc.To, tc.IgnoreErr) - require.Equal(t, tc.ExpectedErr, err != nil) + require.Equal(t, tc.ExpectedErr, err != nil, err) }) } }