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

Unified Diff: tests/language_strong/field_method4_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_strong/field_method4_negative_test.dart
diff --git a/tests/language_strong/field_method4_negative_test.dart b/tests/language_strong/field_method4_negative_test.dart
index 44a3ab1c565a58d64949520d8984aca21d5a106a..94755db6edcec9c4af823b912b6e829c2e62d59b 100644
--- a/tests/language_strong/field_method4_negative_test.dart
+++ b/tests/language_strong/field_method4_negative_test.dart
@@ -6,10 +6,10 @@
class A {
var foo;
A() {
- foo = () { };
+ foo = () {};
}
void bar(var a) {
- a.foo(); // Tries to invoke the non-existing method 'foo'.
+ a.foo(); // Tries to invoke the non-existing method 'foo'.
/*
'a.foo()' is a "Regular instance-method invocation". The guide says:
"If no method is found, the result of the invocation expression is
@@ -28,7 +28,6 @@ class FieldMethod4NegativeTest {
}
}
-
main() {
FieldMethod4NegativeTest.testMain();
}

Powered by Google App Engine
This is Rietveld 408576698