Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: tests/compiler/dart2js/deprecated_features_test.dart

Issue 12473003: Remove deprecated StringBuffer.add, addAll and addCharCode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/deprecated_features_test.dart
diff --git a/tests/compiler/dart2js/deprecated_features_test.dart b/tests/compiler/dart2js/deprecated_features_test.dart
index 7c8bc58a98a8abdd9b49683ebf014c42556a95f5..b2aafa2fdda073804e7a2f66b6cd31f48116cd2d 100644
--- a/tests/compiler/dart2js/deprecated_features_test.dart
+++ b/tests/compiler/dart2js/deprecated_features_test.dart
@@ -16,12 +16,12 @@ main() {
if (kind == Diagnostic.VERBOSE_INFO) return;
if (identical(kind.name, 'source map')) return;
if (uri == null) {
- messages.add('$kind: $message\n');
+ messages.write('$kind: $message\n');
} else {
Expect.equals('main:${uri.path}', '$uri');
String source = TEST_SOURCE[uri.path];
Expect.isNotNull(source);
- messages.add('$begin<${source.substring(begin, end)}>:${uri.path}:'
+ messages.write('$begin<${source.substring(begin, end)}>:${uri.path}:'
'$kind: $message\n');
}
}

Powered by Google App Engine
This is Rietveld 408576698