blob: 9e60b5f7790e88b3d365cc37e645e0d02c10310d [file] [log] [blame]
// Copyright (c) 2014, 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 pub_tests;
import '../../test_pub.dart';
main() {
initConfig();
integration('fails if the package cound not be found on the source', () {
servePackages([]);
schedulePub(args: ["cache", "add", "foo"],
error: new RegExp(r"Could not find package foo at http://.*"),
exitCode: 1);
});
}