Skip to content

Commit

Permalink
fix windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-laterman committed Jan 15, 2024
1 parent 5bea403 commit 9c6d0fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/pkg/agent/cmd/install_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ package cmd
import (
"testing"

"github.com/spf13/cobra"
"github.com/stretchr/testify/require"

"github.com/elastic/elastic-agent/internal/pkg/agent/application/paths"
Expand Down Expand Up @@ -56,7 +55,7 @@ func TestInvalidBasePath(t *testing.T) {
err := cmd.Flags().Set(flagInstallBasePath, test.basePath)
require.NoError(t, err)

err = installCmd(streams, &cmd)
err = installCmd(streams, cmd)

if test.expectedError == "" {
require.NoError(t, err)
Expand Down

0 comments on commit 9c6d0fb

Please sign in to comment.