Chromium Code Reviews| Index: sdk/lib/_internal/pub/test/deploy/with_no_web_directory.dart |
| diff --git a/sdk/lib/_internal/pub/test/deploy/with_no_web_directory.dart b/sdk/lib/_internal/pub/test/deploy/with_no_web_directory.dart |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..27c37663e8245b391f1ce6e004f6f3310a668363 |
| --- /dev/null |
| +++ b/sdk/lib/_internal/pub/test/deploy/with_no_web_directory.dart |
| @@ -0,0 +1,18 @@ |
| +// Copyright (c) 2013, 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. |
| + |
| +import '../descriptor.dart' as d; |
| +import '../test_pub.dart'; |
| + |
| +main() { |
| + initConfig(); |
| + |
| + integration("with no web directory", () { |
| + d.appDir([]).create(); |
|
Andrei Mouravski
2013/05/10 21:56:34
Add a different folder in that looks like web but
nweiz
2013/05/13 21:59:45
What does "looks like web" mean? I don't think it'
Andrei Mouravski
2013/05/13 22:40:33
I have no idea what I was talking about. x_x
|
| + |
| + schedulePub(args: ["deploy"], |
| + error: new RegExp(r"^There is no '[^']+[/\\]web' directory.$"), |
| + exitCode: 1); |
| + }); |
| +} |