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

Unified Diff: tests/language/constructor9_test.dart

Issue 2770063002: Revert "Format all multitests" (Closed)
Patch Set: Created 3 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 | « tests/language/constructor10_test.dart ('k') | tests/language/constructor_call_as_function_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/constructor9_test.dart
diff --git a/tests/language/constructor9_test.dart b/tests/language/constructor9_test.dart
index fc13e5b74f5cb7d18840952b0665d7bc36c086ed..2e2da6ea2e67712d4b64f2d6e9b84c66a905ee3a 100644
--- a/tests/language/constructor9_test.dart
+++ b/tests/language/constructor9_test.dart
@@ -5,12 +5,14 @@
// Check that all final instance fields of a class are initialized by
// constructors.
+
class Klass {
- Klass(var v) : field_ = v {}
+ Klass(var v): field_ = v { }
final uninitializedFinalField_; // //# 01: static type warning
var field_;
}
+
main() {
new Klass(5);
}
« no previous file with comments | « tests/language/constructor10_test.dart ('k') | tests/language/constructor_call_as_function_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698