Skip to content

Commit

Permalink
Update internal/integrationtest/core/core_list_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: per1234 <accounts@perglass.com>
  • Loading branch information
cmaglie and per1234 authored Aug 9, 2022
1 parent 96158ae commit 860e3b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/integrationtest/core/core_list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ func TestCorrectHandlingOfPlatformVersionProperty(t *testing.T) {

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

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

0 comments on commit 860e3b3

Please # to comment.