Skip to content

Commit 2f9979c

Browse files
move builder_utils under arduino/builder/utils pkg
1 parent 29f8215 commit 2f9979c

11 files changed

+422
-455
lines changed

Diff for: arduino/builder/utils/utils.go

+396-9
Large diffs are not rendered by default.

Diff for: arduino/builder/utils/utils_test.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
package utils_test
1+
package utils
22

33
import (
44
"testing"
55

6-
"github.com/arduino/arduino-cli/arduino/builder/utils"
76
"github.com/stretchr/testify/require"
87
)
98

@@ -22,6 +21,6 @@ func TestPrintableCommand(t *testing.T) {
2221
" \"specialchar-`~!@#$%^&*()-_=+[{]}\\\\|;:'\\\",<.>/?-argument\"" +
2322
" \"arg with spaces\" \"arg\twith\t\ttabs\"" +
2423
" lastarg"
25-
result := utils.PrintableCommand(parts)
24+
result := printableCommand(parts)
2625
require.Equal(t, correct, result)
2726
}

0 commit comments

Comments
 (0)