blob: 0a5900c87565018a22a0204ac1cf590b701c3a91 [file] [log] [blame]
// Copyright (c) 2015, 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.
library test_utils;
import 'dart:io';
final Directory testPackageDir = new Directory('test_package');
final Directory testPackageBadDir = new Directory('test_package_bad');
final Directory testPackageWithNoReadme = new Directory('test_package_small');
void delete(Directory dir) {
if (dir.existsSync()) dir.deleteSync(recursive: true);
}