Skip to content

Commit

Permalink
move builder_utils under arduino/builder/utils pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
alessio-perugini committed Sep 6, 2023
1 parent 29f8215 commit 59ae920
Show file tree
Hide file tree
Showing 11 changed files with 422 additions and 455 deletions.
405 changes: 396 additions & 9 deletions arduino/builder/utils/utils.go

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions arduino/builder/utils/utils_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package utils_test
package utils

import (
"testing"

"github.com/arduino/arduino-cli/arduino/builder/utils"
"github.com/stretchr/testify/require"
)

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

0 comments on commit 59ae920

Please sign in to comment.