From 59dffe6ea60a203417e53c2f5ee77fc57d1ab64c Mon Sep 17 00:00:00 2001 From: Ben Konyi Date: Tue, 7 Jan 2025 11:32:20 -0500 Subject: [PATCH] Rename copied SDK directory prefix from 'sdk copy' to 'sdk_copy' webdev/test/e2e_test.dart was failing due to paths with spaces not being handled correctly. Related issue: https://github.com/dart-lang/webdev/issues/2556 Fixes https://github.com/dart-lang/sdk/issues/59784 --- test_common/lib/test_sdk_configuration.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_common/lib/test_sdk_configuration.dart b/test_common/lib/test_sdk_configuration.dart index 864469f23..407ecde60 100644 --- a/test_common/lib/test_sdk_configuration.dart +++ b/test_common/lib/test_sdk_configuration.dart @@ -35,7 +35,7 @@ class TestSdkConfigurationProvider extends SdkConfigurationProvider { bool verbose = false, this.ddcModuleFormat = ModuleFormat.amd, }) : _verbose = verbose { - _sdkDirectory = Directory.systemTemp.createTempSync('sdk copy'); + _sdkDirectory = Directory.systemTemp.createTempSync('sdk_copy'); sdkLayout = TestSdkLayout.createDefault(_sdkDirectory.path); }