Skip to content

Commit 02b4a02

Browse files
author
rsora
committed
Fix test import
1 parent e83f37a commit 02b4a02

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

commands/debug/debug_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import (
2222
"testing"
2323

2424
"github.com/arduino/arduino-cli/arduino/cores/packagemanager"
25+
rpc "github.com/arduino/arduino-cli/rpc/commands"
2526
dbg "github.com/arduino/arduino-cli/rpc/debug"
2627
"github.com/arduino/go-paths-helper"
2728
"github.com/stretchr/testify/assert"
@@ -45,7 +46,7 @@ func TestGetCommandLine(t *testing.T) {
4546

4647
// Arduino Zero has an integrated debugger port, anc it could be debugged directly using USB
4748
req := &dbg.DebugConfigReq{
48-
Instance: &dbg.Instance{Id: 1},
49+
Instance: &rpc.Instance{Id: 1},
4950
Fqbn: "arduino-test:samd:arduino_zero_edbg",
5051
SketchPath: sketchPath.String(),
5152
Port: "none",
@@ -66,7 +67,7 @@ func TestGetCommandLine(t *testing.T) {
6667
// Other samd boards such as mkr1000 can be debugged using an external tool such as Atmel ICE connected to
6768
// the board debug port
6869
req2 := &dbg.DebugConfigReq{
69-
Instance: &dbg.Instance{Id: 1},
70+
Instance: &rpc.Instance{Id: 1},
7071
Fqbn: "arduino-test:samd:mkr1000",
7172
SketchPath: sketchPath.String(),
7273
Port: "none",

0 commit comments

Comments
 (0)