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

Unified Diff: tests/language/return_type_test.dart

Issue 2718513002: Void is not required to be `null` anymore. (Closed)
Patch Set: Update Kernel code. Created 3 years, 7 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
« no previous file with comments | « tests/co19/co19-dartium.status ('k') | tests/language/void_check_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/return_type_test.dart
diff --git a/tests/language/return_type_test.dart b/tests/language/return_type_test.dart
index a2137bb0ca402efab9181559f62d2daffbf26d2b..1346e415cea5940c172d06b140385c24cd72d709 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);
- Expect.throws(returnString2, (e) => e is TypeError);
+ returnString2();
returnNull();
} else {
returnString1();
« no previous file with comments | « tests/co19/co19-dartium.status ('k') | tests/language/void_check_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698