We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f85af84 commit 23b0153Copy full SHA for 23b0153
internal/integrationtest/compile_3/compile_commands_test.go
@@ -16,11 +16,9 @@
16
package compile_test
17
18
import (
19
- "encoding/json"
20
"testing"
21
22
"github.com/arduino/arduino-cli/internal/integrationtest"
23
- "github.com/arduino/go-paths-helper"
24
"github.com/stretchr/testify/require"
25
"go.bug.st/testifyjson/requirejson"
26
)
@@ -36,13 +34,9 @@ func TestCompileCommandsJSONGeneration(t *testing.T) {
36
34
require.NoError(t, err)
37
35
38
// Create a test sketch
39
- out, _, err := cli.Run("sketch", "new", "Test", "--format", "json")
+ _, _, err = cli.Run("sketch", "new", "Test")
40
41
- var s struct {
42
- Path string `json:"sketch_path"`
43
- }
44
- require.NoError(t, json.Unmarshal(out, &s))
45
- sketchPath := paths.New(s.Path)
+ sketchPath := cli.WorkingDir().Join("Test")
46
buildPath := sketchPath.Join("build")
47
48
{
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments