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

Unified Diff: tests/standalone/src/io/ProcessStartExceptionTest.dart

Issue 9856020: Print the actual error message on failure in the ProcessStartException test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/io/ProcessStartExceptionTest.dart
diff --git a/tests/standalone/src/io/ProcessStartExceptionTest.dart b/tests/standalone/src/io/ProcessStartExceptionTest.dart
index aa7de7f3ee9fdf4167b1340a1dac79b40c4d55df..12608b6b7859921173ae5b7b251616444912eef6 100644
--- a/tests/standalone/src/io/ProcessStartExceptionTest.dart
+++ b/tests/standalone/src/io/ProcessStartExceptionTest.dart
@@ -18,7 +18,7 @@ class ProcessStartExceptionTest {
};
process.onError = (ProcessException e) {
- Expect.equals(2, e.errorCode);
+ Expect.equals(2, e.errorCode, '$e');
Ivan Posva 2012/03/26 16:48:18 What's wrong with using e.toString() or e.message?
Mads Ager (google) 2012/03/26 16:52:01 Absolutely nothing. :) The string interpolation wa
};
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698