diff --git a/pkg/dynamic_modules/test/runner/ddc.dart b/pkg/dynamic_modules/test/runner/ddc.dart index 98e520a5798..2e80e86319e 100644 --- a/pkg/dynamic_modules/test/runner/ddc.dart +++ b/pkg/dynamic_modules/test/runner/ddc.dart @@ -68,12 +68,12 @@ class DdcExecutor implements TargetExecutor { '--no-summarize', '--no-source-map', '--multi-root', - sourceDir.resolve('../../').toFilePath(), + '${sourceDir.resolve('../../')}', '--multi-root-scheme', rootScheme, '$rootScheme:/data/$testName/$source', '--dart-sdk-summary', - ddcSdkOutline.toFilePath(), + '$ddcSdkOutline', // Note: this needs to change if we ever intend to support packages within // the dynamic loading tests themselves '--packages=${repoRoot.toFilePath()}/.dart_tool/package_config.json', @@ -100,12 +100,12 @@ class DdcExecutor implements TargetExecutor { '--target', 'ddc', '--multi-root', - sourceDir.resolve('../../').toFilePath(), + '${sourceDir.resolve('../../')}', '--multi-root-scheme', rootScheme, '--packages-file=${repoRoot.toFilePath()}/.dart_tool/package_config.json', '--dart-sdk-summary', - ddcSdkOutline.toFilePath(), + '$ddcSdkOutline', '--source', '$rootScheme:/data/$testName/$source', '--output',