@@ -22,6 +22,7 @@ import (
22
22
"testing"
23
23
24
24
"github.com/arduino/arduino-cli/arduino/cores/packagemanager"
25
+ rpc "github.com/arduino/arduino-cli/rpc/commands"
25
26
dbg "github.com/arduino/arduino-cli/rpc/debug"
26
27
"github.com/arduino/go-paths-helper"
27
28
"github.com/stretchr/testify/assert"
@@ -45,7 +46,7 @@ func TestGetCommandLine(t *testing.T) {
45
46
46
47
// Arduino Zero has an integrated debugger port, anc it could be debugged directly using USB
47
48
req := & dbg.DebugConfigReq {
48
- Instance : & dbg .Instance {Id : 1 },
49
+ Instance : & rpc .Instance {Id : 1 },
49
50
Fqbn : "arduino-test:samd:arduino_zero_edbg" ,
50
51
SketchPath : sketchPath .String (),
51
52
Port : "none" ,
@@ -66,7 +67,7 @@ func TestGetCommandLine(t *testing.T) {
66
67
// Other samd boards such as mkr1000 can be debugged using an external tool such as Atmel ICE connected to
67
68
// the board debug port
68
69
req2 := & dbg.DebugConfigReq {
69
- Instance : & dbg .Instance {Id : 1 },
70
+ Instance : & rpc .Instance {Id : 1 },
70
71
Fqbn : "arduino-test:samd:mkr1000" ,
71
72
SketchPath : sketchPath .String (),
72
73
Port : "none" ,
0 commit comments