Fixed Issue #437: test expectations corrected.
diff --git a/LanguageFeatures/Extension-methods/static_member_t02.dart b/LanguageFeatures/Extension-methods/static_member_t02.dart
index 5a69f18..cb72249 100644
--- a/LanguageFeatures/Extension-methods/static_member_t02.dart
+++ b/LanguageFeatures/Extension-methods/static_member_t02.dart
@@ -16,13 +16,12 @@
extension MySmart on Object {
static Object smartHelper(Object o) { return o; }
- smart() => smartHelper(this);
+ Object smart() => smartHelper(this);
}
main() {
const String str = "12345";
- Expect.equals(str, MySmart.smart());
- Expect.equals(str, str.smartHelper(str));
- Expect.equals(str, str.smartHelper(str));
+ Expect.equals(str, str.smart());
+ Expect.equals(str, MySmart.smartHelper(str));
Expect.equals(str, MySmart(str).smartHelper(str));
}