Index: pkg/scheduled_test/lib/src/descriptor/directory.dart |
diff --git a/pkg/scheduled_test/lib/src/descriptor/directory.dart b/pkg/scheduled_test/lib/src/descriptor/directory.dart |
index 978daef7a7e96f3d65c0217501515c25bf257fdd..a3b2fdf5573cb787ea1d7c6a6ce87d9c8d4542dd 100644 |
--- a/pkg/scheduled_test/lib/src/descriptor/directory.dart |
+++ b/pkg/scheduled_test/lib/src/descriptor/directory.dart |
@@ -90,7 +90,7 @@ class Directory extends descriptor.Entry { |
var lastEntryString = prefixLines(contents.last.describe(), prefix: ' ') |
.replaceFirst(' ', "'-- "); |
- buffer.add(lastEntryString); |
+ buffer.write(lastEntryString); |
return buffer.toString(); |
} |
} |