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

Unified Diff: tests/language/div_with_power_of_two_test.dart

Issue 23890042: Move div by zero testing into its own test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 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 | « no previous file | tests/language/integer_division_by_zero_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/div_with_power_of_two_test.dart
===================================================================
--- tests/language/div_with_power_of_two_test.dart (revision 27742)
+++ tests/language/div_with_power_of_two_test.dart (working copy)
@@ -98,8 +98,5 @@
Expect.equals(res, f(arg));
}
}
- Expect.throws(() => divBy0(4),
- (e) => e is IntegerDivisionByZeroException
- || e is UnsupportedError);
}
}
« no previous file with comments | « no previous file | tests/language/integer_division_by_zero_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698