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; |