Index: pkg/front_end/test/scanner_replacement_test.dart |
diff --git a/pkg/front_end/test/scanner_replacement_test.dart b/pkg/front_end/test/scanner_replacement_test.dart |
index 63ea94f6bcfd3a64785afcd084da010d82f24886..a658d6d79026bccd5e9dc390926f7fe9edae46a8 100644 |
--- a/pkg/front_end/test/scanner_replacement_test.dart |
+++ b/pkg/front_end/test/scanner_replacement_test.dart |
@@ -47,13 +47,12 @@ class ScannerTest_Replacement extends ScannerTest { |
// so we can ignore the `lazyAssignmentOperators` flag. |
// TODO(danrubel): once lazyAssignmentOperators are fully supported by |
// Dart, remove this flag. |
- fasta.ScannerResult result = fasta.scanString(source, |
- includeComments: true, |
+ fasta.ScannerResult result = fasta.scanString(source, includeComments: true, |
recover: ((List<int> bytes, fasta.Token tokens, List<int> lineStarts) { |
- // perform recovery as a separate step |
- // so that the token stream can be validated before and after recovery |
- return tokens; |
- })); |
+ // perform recovery as a separate step |
+ // so that the token stream can be validated before and after recovery |
+ return tokens; |
+ })); |
fasta.Token tokens = result.tokens; |
assertValidTokenStream(tokens); |
assertValidBeginTokens(tokens); |