Skip to content

Commit 860e3b3

Browse files
cmaglieper1234
andauthored
Update internal/integrationtest/core/core_list_test.go
Co-authored-by: per1234 <[email protected]>
1 parent 96158ae commit 860e3b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/integrationtest/core/core_list_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ func TestCorrectHandlingOfPlatformVersionProperty(t *testing.T) {
3838

3939
// Copy test platform
4040
testPlatform := paths.New("testdata", "issue_1823", "DxCore-dev")
41-
require.NoError(t, testPlatform.CopyDirTo(cli.DataDir().Join("packages", "hardware")))
41+
require.NoError(t, testPlatform.CopyDirTo(cli.SketchbookDir().Join("hardware", "DxCore-dev")))
4242

4343
// Trigger problematic call
4444
out, _, err := cli.Run("core", "list", "--format", "json")
4545
require.NoError(t, err)
46-
requirejson.Contains(t, out, `[{"id":"hardware:megaavr","installed":"1.4.10","name":"DxCore"}]`)
46+
requirejson.Contains(t, out, `[{"id":"DxCore-dev:megaavr","installed":"1.4.10","name":"DxCore"}]`)
4747
}

0 commit comments

Comments
 (0)