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

Unified Diff: tests/html/rect_test.dart

Issue 12493003: Exposing Point & Rect types (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Sync to ToT Created 7 years, 9 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/html/point_test.dart ('k') | tests/html/wheelevent_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/rect_test.dart
diff --git a/tests/html/rect_test.dart b/tests/html/rect_test.dart
index de405a55bb0127b28e3830d6a86af0521867d084..fd1935a2485b4c5f4f19cc8313014091768f6f3a 100644
--- a/tests/html/rect_test.dart
+++ b/tests/html/rect_test.dart
@@ -26,14 +26,6 @@ main() {
var r2 = new Rect.fromPoints(r0.bottomRight, r0.topLeft);
expect(r2, r0);
-
- expect(() {
- new Rect(0, 0, -1, 0);
- }, throwsArgumentError);
-
- expect(() {
- new Rect(0, 0, 0, -1);
- }, throwsArgumentError);
});
test('intersection', () {
« no previous file with comments | « tests/html/point_test.dart ('k') | tests/html/wheelevent_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698