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

Unified Diff: tests/language/stack_trace_test.dart

Issue 14009004: Remove methods on StackTrace class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add dart2j issue number for unexepected stack trace. Created 7 years, 8 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/language_dart2js.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/stack_trace_test.dart
diff --git a/tests/language/stack_trace_test.dart b/tests/language/stack_trace_test.dart
index 665313fdada158dc6d09f1caf685cc165c296020..2f584a65a45f9c50f308f279d8ec5e287c96edfe 100644
--- a/tests/language/stack_trace_test.dart
+++ b/tests/language/stack_trace_test.dart
@@ -18,7 +18,7 @@ class Helper {
} on MyException catch (exception, stacktrace) {
i = 50;
print(exception.message_);
- Expect.equals((stacktrace != null), true);
+ Expect.isNotNull(stacktrace);
print(stacktrace);
}
try {
@@ -28,7 +28,7 @@ class Helper {
} on MyException catch (exception, stacktrace) {
i = 50;
print(exception.message_);
- Expect.equals((stacktrace != null), true);
+ Expect.isNotNull(stacktrace);
print(stacktrace);
}
try {
@@ -38,7 +38,7 @@ class Helper {
} on MyException catch (exception, stacktrace) {
i = 50;
print(exception.message_);
- Expect.equals((stacktrace != null), true);
+ Expect.isNotNull(stacktrace);
print(stacktrace);
} finally {
i = i + 800;
« no previous file with comments | « tests/language/language_dart2js.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698