Files
sdk/tests/standalone/io/non_utf8_output_test.dart
T
Martin Kustermann 1402e8e1a4 [gardening] Ensure standalone/io/non_utf8_output_test flushes stdout
This can remove flakiness of the test, the approval status will be NonUtf8Output.

Change-Id: Ie911547481ed0421632a54a3a74ce93984656948
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/141123
Reviewed-by: Teagan Strickland <sstrickl@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2020-03-26 13:15:18 +00:00

15 lines
490 B
Dart

// 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-UTF-8 formatted data.
// It should have the test expectation: NonUtf8Output.
import 'dart:io';
main() async {
String german = "German characters: aäbcdefghijklmnoöpqrsßtuüvwxyz";
stdout.add(german.runes.toList());
await stdout.close();
}