blob: 5e2322ade9b0591dfa753989c3b7d0904bc52545 [file] [log] [blame]
// 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.
/// @assertion Future done
/// This future is identical to the future returned by [close].
/// @description Checks that returned [Future] is identical to one returned by
/// the [close] method.
/// @author
import "../../../Utils/expect.dart";
import "dart:async";
import "dart:io";
test(Stdout sink) { Expect.equals(sink.done, sink.close()); }
main() {