blob: 6cefa59d6c3fef35ce5f2d421c8fe99d731f0c30 [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 Directory current
/// Creates a directory object pointing to the current working directory.
/// @description Checks that this property returns a directory object pointing to
/// the current working directory.
/// @author sgrekhov@unipro.ru
import "dart:io";
import "../../../Utils/expect.dart";
main() {
Expect.isNotNull(Directory.current);
Expect.isTrue(Directory.current is Directory);
Expect.runtimeIsType<Directory>(Directory.current);
}