Index: tests/compiler/dart2js/unparser_test.dart |
diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart |
index ee7b7109e9576e38ba8228230d782817943b76f8..a6bb634c200ff2c215d6902e2688bcca48ea3623 100644 |
--- a/tests/compiler/dart2js/unparser_test.dart |
+++ b/tests/compiler/dart2js/unparser_test.dart |
@@ -306,16 +306,16 @@ testMixinApplications() { |
testUnparseParameters(List<String> variableDeclarations) { |
var sb = new StringBuffer(); |
- sb.add('Constructor('); |
+ sb.write('Constructor('); |
int index = 0; |
for (String variableDeclaration in variableDeclarations) { |
if (index != 0) { |
- sb.add(', '); |
+ sb.write(', '); |
} |
- sb.add(variableDeclaration); |
+ sb.write(variableDeclaration); |
index++; |
} |
- sb.add(');'); |
+ sb.write(');'); |
FunctionExpression node = parseMember(sb.toString()); |
index = 0; |