Index: test/codegen/expect/unittest.js |
diff --git a/test/codegen/expect/unittest.js b/test/codegen/expect/unittest.js |
index a5a5182ba852cd7596ee8731ae99a43ee9592c6a..a319905ed91e9b4a003650707cdcbe0f90290868 100644 |
--- a/test/codegen/expect/unittest.js |
+++ b/test/codegen/expect/unittest.js |
@@ -80,7 +80,7 @@ dart_library.library('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: |