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

Unified Diff: tests/language/assign_instance_method_negative_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files 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: tests/language/assign_instance_method_negative_test.dart
diff --git a/tests/language/assign_instance_method_negative_test.dart b/tests/language/assign_instance_method_negative_test.dart
index 46505ae6925adc05c032cc31992121f68824cfd9..0e17f16aa7dccb8405498341fa6dc6c586f8ad3c 100644
--- a/tests/language/assign_instance_method_negative_test.dart
+++ b/tests/language/assign_instance_method_negative_test.dart
@@ -4,11 +4,15 @@
class A {
A() {}
- imethod() { return 0; }
+ imethod() {
+ return 0;
+ }
}
main() {
var a = new A();
// Illegal, can't change a member method
- a.imethod = () { return 1; };
+ a.imethod = () {
+ return 1;
+ };
}

Powered by Google App Engine
This is Rietveld 408576698