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