blob: 7f78c8e0388e733a371960293d9878d1f6beaa47 [file] [log] [blame]
/*
* Copyright (c) 2011, 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 final Future future
* The future that will contain the result provided to this completer.
* @description Checks that this property refers to an object of the type Future.
* @author msyabro
* @reviewer kaigorodov
*/
import "../../../Utils/expect.dart";
import "dart:async";
main() {
Completer completer = new Completer();
Expect.isTrue(completer.future is Future);
}