OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library barback.test.package_graph.source_test; | 5 library barback.test.package_graph.source_test; |
6 | 6 |
7 import 'package:barback/src/utils.dart'; | 7 import 'package:barback/src/utils.dart'; |
8 import 'package:scheduled_test/scheduled_test.dart'; | 8 import 'package:scheduled_test/scheduled_test.dart'; |
9 | 9 |
10 import '../utils.dart'; | 10 import '../utils.dart'; |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 | 194 |
195 updateSources(["app|foo.txt"]); | 195 updateSources(["app|foo.txt"]); |
196 expectAsset("app|foo.txt", "foo"); | 196 expectAsset("app|foo.txt", "foo"); |
197 buildShouldSucceed(); | 197 buildShouldSucceed(); |
198 | 198 |
199 updateSources(["app|foo.in"]); | 199 updateSources(["app|foo.in"]); |
200 expectAsset("app|foo.txt", "foo"); | 200 expectAsset("app|foo.txt", "foo"); |
201 buildShouldFail([isAssetCollisionException("app|foo.txt")]); | 201 buildShouldFail([isAssetCollisionException("app|foo.txt")]); |
202 }); | 202 }); |
203 } | 203 } |
OLD | NEW |