Index: pkg/unittest/lib/html_enhanced_config.dart |
diff --git a/pkg/unittest/lib/html_enhanced_config.dart b/pkg/unittest/lib/html_enhanced_config.dart |
index 2fd2fa3fb9a78f0bbdfd9b983e754c89cba8718f..5cc5fe5df784511c32e5da70cca6ae789adefce5 100644 |
--- a/pkg/unittest/lib/html_enhanced_config.dart |
+++ b/pkg/unittest/lib/html_enhanced_config.dart |
@@ -270,7 +270,8 @@ class HtmlEnhancedConfiguration extends Configuration { |
'${test_.description}. ${_htmlEscape(test_.message)}'); |
if (test_.stackTrace != null) { |
- addRowElement('', '', '<pre>${_htmlEscape(test_.stackTrace)}</pre>'); |
+ addRowElement('', '', |
+ '<pre>${_htmlEscape(test_.stackTrace.toString())}</pre>'); |
} |
} |