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

Unified Diff: tests/standalone/io/non_utf8_output_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 | « tests/standalone/io/console_unicode_test.dart ('k') | tests/standalone/standalone.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/non_utf8_output_test.dart
diff --git a/tests/standalone/io/non_utf8_output_test.dart b/tests/standalone/io/non_utf8_output_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..0e10a292e059b93e8a708d6fe5a7d1f7217588be
--- /dev/null
+++ b/tests/standalone/io/non_utf8_output_test.dart
@@ -0,0 +1,13 @@
+// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// This test emits non-UTF8 formatted data.
+// It should have the test expectation: NonUtf8Output.
+
+import 'dart:io';
+
+main() {
+ String german = "German characters: aäbcdefghijklmnoöpqrsßtuüvwxyz";
+ stdout.add(german.runes.toList());
+}
« no previous file with comments | « tests/standalone/io/console_unicode_test.dart ('k') | tests/standalone/standalone.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698