Index: pkg/unittest/lib/html_config.dart |
diff --git a/pkg/unittest/lib/html_config.dart b/pkg/unittest/lib/html_config.dart |
index 303afb63b7a67b93ade97b491a8866e76cc97d84..86123cf3d1681805409d3620a871c9405e051254 100644 |
--- a/pkg/unittest/lib/html_config.dart |
+++ b/pkg/unittest/lib/html_config.dart |
@@ -80,7 +80,9 @@ String _toHtml(TestCase test_) { |
</tr>'''; |
if (test_.stackTrace != null) { |
- html = '$html<tr><td></td><td colspan="2"><pre>${_htmlEscape(test_.stackTrace)}</pre></td></tr>'; |
+ html = '$html<tr><td></td><td colspan="2"><pre>' + |
+ _htmlEscape(test_.stackTrace.toString()) + |
+ '</pre></td></tr>'; |
} |
return html; |