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

Unified Diff: tests/language/null_test.dart

Issue 163513003: Revert "Fix null.runtimeType, reflect(null).type.superinterfaces, and reflect(null).getField." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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/language/null2_test.dart ('k') | tests/lib/lib.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/null_test.dart
diff --git a/tests/language/null_test.dart b/tests/language/null_test.dart
index 83ffd7b3d1b02f56293f7913b14ef7cd259fdda3..c499c50299168a7b3685bbd9254efee0dabcbc22 100644
--- a/tests/language/null_test.dart
+++ b/tests/language/null_test.dart
@@ -37,10 +37,7 @@ class Generic2<T, S> {
// at compile time. If the result is computed at compile time, the dynamic code
// will not be tested.
confuse(x) {
- try {
- if (new DateTime.now().millisecondsSinceEpoch == 42) x = 42;
- throw [x];
- } on dynamic catch (e) { return e[0]; }
+ try { throw [x]; } on dynamic catch (e) { return e[0]; }
return 42;
}
« no previous file with comments | « tests/language/null2_test.dart ('k') | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698