Index: test/codegen/expect/unittest/unittest.js |
diff --git a/test/codegen/expect/unittest/unittest.js b/test/codegen/expect/unittest/unittest.js |
index c1ba74bc7bc69b2cd3faca46640c46dfbbc54893..f1715279f3212bb0a622a8187034e593f0d827c8 100644 |
--- a/test/codegen/expect/unittest/unittest.js |
+++ b/test/codegen/expect/unittest/unittest.js |
@@ -80,7 +80,7 @@ dart_library.library('unittest/unittest', null, /* Imports */[ |
description.add(` Which: ${mismatchDescription}\n`); |
} |
if (reason != null) description.add(reason).add('\n'); |
- return dart.toString(description); |
+ return description.toString(); |
} |
dart.fn(_defaultFailFormatter, core.String, [dart.dynamic, interfaces.Matcher, core.String, core.Map, core.bool]); |
// Exports: |