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

Unified Diff: test/codegen/common.dart

Issue 1016913002: pkg/smoke: support latest analyzer version and formatted code (Closed) Base URL: https://github.com/dart-lang/smoke@master
Patch Set: updates Created 5 years, 9 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
« no previous file with comments | « pubspec.yaml ('k') | test/codegen/end_to_end_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/common.dart
diff --git a/test/codegen/common.dart b/test/codegen/common.dart
index 3afe2e42822e79105e99e353f765162b8bdb4756..7c80d6c194b4bf60a9c4a768b4deddca313ede2a 100644
--- a/test/codegen/common.dart
+++ b/test/codegen/common.dart
@@ -7,9 +7,12 @@ library smoke.test.codegen.common;
import 'package:smoke/codegen/generator.dart';
import 'package:unittest/unittest.dart';
-checkResults(SmokeCodeGenerator generator, {List<String> imports: const [],
- String topLevel: '', String initCall}) {
- var allImports = []..addAll(DEFAULT_IMPORTS)..addAll(imports)..add('');
+checkResults(SmokeCodeGenerator generator,
+ {List<String> imports: const [], String topLevel: '', String initCall}) {
+ var allImports = []
+ ..addAll(DEFAULT_IMPORTS)
+ ..addAll(imports)
+ ..add('');
var genImports = new StringBuffer();
generator.writeImports(genImports);
expect(genImports.toString(), allImports.join('\n'));
« no previous file with comments | « pubspec.yaml ('k') | test/codegen/end_to_end_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698