Index: tests/compiler/dart2js/inference/inference_test_helper.dart |
diff --git a/tests/compiler/dart2js/inference/inference_test_helper.dart b/tests/compiler/dart2js/inference/inference_test_helper.dart |
index 23712bad1230d5c817cf56847be9a8f248183857..43a3ca7c9051d2416c78359cabd9b4716c622699 100644 |
--- a/tests/compiler/dart2js/inference/inference_test_helper.dart |
+++ b/tests/compiler/dart2js/inference/inference_test_helper.dart |
@@ -24,7 +24,8 @@ typedef void CheckMemberFunction( |
/// annotation. Any [Id] left in the map will be reported as missing. |
checkCode(String annotatedCode, CheckMemberFunction checkMember, |
{List<String> options: const <String>[]}) async { |
- AnnotatedCode code = new AnnotatedCode.fromText(annotatedCode, '/*', '*/'); |
+ AnnotatedCode code = |
+ new AnnotatedCode.fromText(annotatedCode, commentStart, commentEnd); |
Map<Id, String> expectedMap = computeExpectedMap(code); |
Compiler compiler = compilerFor( |
memorySourceFiles: {'main.dart': code.sourceCode}, options: options); |