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

Unified Diff: test/dart_codegen/expect/async/deferred_load.dart

Issue 963593002: Disable formatting and add new-lines to make tests faster. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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: test/dart_codegen/expect/async/deferred_load.dart
diff --git a/test/dart_codegen/expect/async/deferred_load.dart b/test/dart_codegen/expect/async/deferred_load.dart
index a6624a58ef0db0429cc94b86215046b34c2f808f..76a9d7280e76cc87b464e06321534a641abd1540 100644
--- a/test/dart_codegen/expect/async/deferred_load.dart
+++ b/test/dart_codegen/expect/async/deferred_load.dart
@@ -1,16 +1,14 @@
part of dart.async;
-
-@Deprecated("Dart sdk v. 1.8")
-class DeferredLibrary {
- final String libraryName;
- final String uri;
- const DeferredLibrary(this.libraryName, {this.uri});
- Future<Null> load() {
- throw 'DeferredLibrary not supported. ' 'please use the `import "lib.dart" deferred as lib` syntax.';
+ @Deprecated("Dart sdk v. 1.8") class DeferredLibrary {final String libraryName;
+ final String uri;
+ const DeferredLibrary(this.libraryName, {
+ this.uri}
+);
+ Future<Null> load() {
+ throw 'DeferredLibrary not supported. ' 'please use the `import "lib.dart" deferred as lib` syntax.';
}
}
-class DeferredLoadException implements Exception {
- DeferredLoadException(String this._s);
- String toString() => "DeferredLoadException: '$_s'";
- final String _s;
+ class DeferredLoadException implements Exception {DeferredLoadException(String this._s);
+ String toString() => "DeferredLoadException: '$_s'";
+ final String _s;
}

Powered by Google App Engine
This is Rietveld 408576698