Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(741)

Unified Diff: pkg/front_end/test/scanner_replacement_test.dart

Issue 2820323005: Run formatter on a few frontend and kernel files that hadn't been formatted. (Closed)
Patch Set: Run formatter on a few frontend and kernel files that hadn't been formatted. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_formal_parameter_builder.dart ('k') | pkg/front_end/testcases/cascade.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698