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

Unified Diff: tests/language_strong/instance_method2_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/instance_method2_negative_test.dart
diff --git a/tests/language_strong/instance_method2_negative_test.dart b/tests/language_strong/instance_method2_negative_test.dart
index 756dcf6520cabdd33db60fab6b4cc2fb17bd849b..c0243bf948ddcac50d0267c1d3158e7d91a8f15a 100644
--- a/tests/language_strong/instance_method2_negative_test.dart
+++ b/tests/language_strong/instance_method2_negative_test.dart
@@ -5,13 +5,13 @@
// Dart test to check that we correctly flag the use of an
// instance method (as a closure) from a static method.
-
class Goofy {
String instMethod() {
return "woof";
}
+
static Function bark() {
- return instMethod; // Should get error here.
+ return instMethod; // Should get error here.
}
}
@@ -21,7 +21,6 @@ class InstanceMethod2NegativeTest {
}
}
-
main() {
InstanceMethod2NegativeTest.testMain();
}

Powered by Google App Engine
This is Rietveld 408576698