blob: c7ab387ff9aa48c5f9c8e197fd38a0ece12edcf7 [file] [log] [blame]
// Copyright (c) 2016, 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 StreamConsumer()
/// @description Checks that an instance of StreamConsumer may be created.
/// @author
library StreamConsumer_A01_t01;
import "dart:async";
import "../../../Utils/expect.dart";
test(StreamConsumer create()) {
StreamConsumer sc = create();
Expect.isTrue(sc is StreamConsumer);