diff --git a/windows-agent/internal/config/config_test.go b/windows-agent/internal/config/config_test.go index b8244a80b..7298d13cc 100644 --- a/windows-agent/internal/config/config_test.go +++ b/windows-agent/internal/config/config_test.go @@ -507,10 +507,10 @@ func TestUpdateRegistrySettings(t *testing.T) { out, err := readFileOrEmpty(taskFilePath) require.NoError(t, err, "Could not read distro taskfile") for _, task := range tc.wantTasks { - require.Containsf(t, out, task, "Distro should have received a %s task", task) + assert.Containsf(t, out, task, "Distro should have received a %s task", task) } for _, task := range tc.unwantedTasks { - require.NotContainsf(t, out, task, "Distro should have received a %s task", task) + assert.NotContainsf(t, out, task, "Distro should have received a %s task", task) } }) }