Index: tests/language/return_type_test.dart |
diff --git a/tests/language/return_type_test.dart b/tests/language/return_type_test.dart |
index 1346e415cea5940c172d06b140385c24cd72d709..a2137bb0ca402efab9181559f62d2daffbf26d2b 100644 |
--- a/tests/language/return_type_test.dart |
+++ b/tests/language/return_type_test.dart |
@@ -21,7 +21,7 @@ void returnString2() => 's'; |
main() { |
if (isCheckedMode()) { |
Expect.throws(returnString1, (e) => e is TypeError); |
- returnString2(); |
+ Expect.throws(returnString2, (e) => e is TypeError); |
returnNull(); |
} else { |
returnString1(); |