Skip to content

Commit 4da55f5

Browse files
Update internal/integrationtest/lib/lib_test.go
Co-authored-by: Cristian Maglie <[email protected]>
1 parent 4fbd7e7 commit 4da55f5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

internal/integrationtest/lib/lib_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,9 +1271,7 @@ func TestUpgradeDoesNotTryToUpgradeBundledCoreLibrariesInSketchbook(t *testing.T
12711271
require.NoError(t, platformInstallDir.Parent().MkdirAll())
12721272

12731273
// Install platform in Sketchbook hardware dir
1274-
wd, err := paths.Getwd()
1275-
require.NoError(t, err)
1276-
require.NoError(t, wd.Parent().Join("testdata", testPlatformName).CopyDirTo(platformInstallDir))
1274+
require.NoError(t, paths.New("..", "testdata", testPlatformName).CopyDirTo(platformInstallDir))
12771275

12781276
_, _, err = cli.Run("update")
12791277
require.NoError(t, err)

0 commit comments

Comments
 (0)