Skip to content

Commit

Permalink
Fixed integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Nov 23, 2023
1 parent cf76e2e commit 9c14b77
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/integrationtest/lib/lib_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -589,8 +589,10 @@ func TestInstallLibraryWithDependencies(t *testing.T) {
require.NoError(t, err)
_, _, err = cli.Run("lib", "install", "[email protected]")
require.NoError(t, err)
_, _, err = cli.Run("lib", "install", "Arduino_Builtin", "--no-overwrite")
require.Error(t, err)
// This time it should accept the installation with the currently installed SD 1.2.3
out, _, err := cli.Run("lib", "install", "Arduino_Builtin", "--no-overwrite")
require.NoError(t, err)
require.Contains(t, string(out), "Already installed [email protected]")
}

func TestInstallNoDeps(t *testing.T) {
Expand Down

0 comments on commit 9c14b77

Please sign in to comment.