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(); |
} |