| Index: utils/template/uitest.dart
|
| diff --git a/utils/template/uitest.dart b/utils/template/uitest.dart
|
| index ead7770b9f247299dd0340f7ce8ce7ee9e53b3b3..7aed1ffc1638199987c05f4a1b05ab144597b1ee 100644
|
| --- a/utils/template/uitest.dart
|
| +++ b/utils/template/uitest.dart
|
| @@ -385,12 +385,12 @@ void runTemplate([bool debug = false, bool parseOnly = false]) {
|
| try {
|
| List<Template> templates = templateParseAndValidate(htmlTemplate);
|
| for (var tmpl in templates) {
|
| - dumpTree.add(tmpl.toDebugString());
|
| + dumpTree.write(tmpl.toDebugString());
|
| }
|
|
|
| // Generate the Dart class(es) for all template(s).
|
| // Pass in filename of 'foo' for testing in UITest.
|
| - code.add(Codegen.generate(templates, 'foo'));
|
| + code.write(Codegen.generate(templates, 'foo'));
|
| } catch (htmlException) {
|
| // TODO(terry): TBD
|
| print("ERROR unhandled EXCEPTION");
|
|
|