File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
internal/orchestrator/bricks Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,10 @@ import (
2121 "github.com/stretchr/testify/require"
2222 "go.bug.st/f"
2323
24+ "github.com/arduino/go-paths-helper"
25+
2426 "github.com/arduino/arduino-app-cli/internal/orchestrator/app"
2527 "github.com/arduino/arduino-app-cli/internal/orchestrator/bricksindex"
26- "github.com/arduino/go-paths-helper"
2728)
2829
2930func TestBrickCreate (t * testing.T ) {
@@ -76,9 +77,10 @@ func TestBrickCreate(t *testing.T) {
7677
7778func TestOverrideBrickVariablesOfApp (t * testing.T ) {
7879 appWithOverride := paths .New ("testdata/my-app.override" )
79- appWithOverride .RemoveAll ()
80+ err := appWithOverride .RemoveAll ()
81+ require .Nil (t , err )
8082
81- err : = paths .New ("testdata/my-app.source" ).CopyDirTo (appWithOverride )
83+ err = paths .New ("testdata/my-app.source" ).CopyDirTo (appWithOverride )
8284 require .Nil (t , err )
8385 bricksIndex , err := bricksindex .GenerateBricksIndexFromFile (paths .New ("testdata" ))
8486 require .Nil (t , err )
You can’t perform that action at this time.
0 commit comments