blob: 83dc6b2023f11b572a68d48f1aa35078f17fb918 [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 static const Zone ROOT
* The root zone that is implicitly created.
* @description Checks that propery ROOT is of type Zone and is const.
* @static-warning
* @author ilya
*/
import "dart:async";
//import "../../../Utils/async_utils.dart";
import "../../../Utils/expect.dart";
main() {
Expect.isTrue(Zone.ROOT is Zone);
Expect.throws(() => Zone.ROOT = null);
}