Index: dart/tools/testing/dart/test_suite.dart |
diff --git a/dart/tools/testing/dart/test_suite.dart b/dart/tools/testing/dart/test_suite.dart |
index 112bc47491bb3900b14262dd805a3cd460df00a3..d64d0c8397658671b6b71ac008261c103cade6aa 100644 |
--- a/dart/tools/testing/dart/test_suite.dart |
+++ b/dart/tools/testing/dart/test_suite.dart |
@@ -1027,7 +1027,8 @@ class StandardTestSuite extends TestSuite { |
content = getHtmlLayoutContents(scriptType, new Path("$scriptPath")); |
} else { |
if (compiler == "dart2js" && configuration["csp"]) { |
- scriptPath = scriptPath.replaceFirst('/test.js', '/precompiled.js'); |
+ scriptPath = |
+ scriptPath.replaceFirst('/test.js', '/test.precompiled.js'); |
} |
content = getHtmlContents(filename, scriptType, |