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

Unified Diff: tests/standalone/io/console_unicode_test.dart

Issue 2710603009: Revert "Revert "[test.dart] Complain if there is non-utf8 formatted data in test output"" (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | tests/standalone/io/non_utf8_output_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/console_unicode_test.dart
diff --git a/tests/standalone/io/console_unicode_test.dart b/tests/standalone/io/console_unicode_test.dart
index d681ff2c717efe276dcdbe27864dce5d83508a49..db89abd096307e82394dcb6417b60b755e9196aa 100644
--- a/tests/standalone/io/console_unicode_test.dart
+++ b/tests/standalone/io/console_unicode_test.dart
@@ -6,26 +6,25 @@ import 'dart:convert';
import 'dart:io';
main() {
+ String canary = "Canary";
String spades = "These are three black spades: ♠♠♠";
String german = "German characters: aäbcdefghijklmnoöpqrsßtuüvwxyz";
+ stdout.writeln(canary);
stdout.writeln(spades);
stdout.writeln(german);
print(spades);
print(german);
- stdout.add(spades.runes.toList());
- stdout.writeln();
- stdout.add(german.runes.toList());
- stdout.writeln();
-
- stdout.add(spades.codeUnits);
- stdout.writeln();
- stdout.add(german.codeUnits);
+ stdout.add(canary.runes.toList());
stdout.writeln();
+ stdout.writeln(canary);
stdout.writeln(spades);
stdout.writeln(german);
print(spades);
print(german);
-}
+
+ stdout.add(canary.codeUnits);
+ stdout.writeln();
+}
« no previous file with comments | « no previous file | tests/standalone/io/non_utf8_output_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698