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

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

Powered by Google App Engine
This is Rietveld 408576698