OLD | NEW |
1 library pub_tests; | 1 library pub_tests; |
2 import '../descriptor.dart' as d; | 2 import '../descriptor.dart' as d; |
3 import '../test_pub.dart'; | 3 import '../test_pub.dart'; |
4 import 'utils.dart'; | 4 import 'utils.dart'; |
5 void main() { | 5 void main() { |
6 initConfig(); | 6 initConfig(); |
7 integration( | 7 integration( |
8 "allows a package dependency cycle that's unrelated to " "transformers", | 8 "allows a package dependency cycle that's unrelated to " "transformers", |
9 () { | 9 () { |
10 d.dir(appPath, [d.pubspec({ | 10 d.dir(appPath, [d.pubspec({ |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 'lib', | 222 'lib', |
223 [ | 223 [ |
224 d.file("myapp.dart", transformer(['foo.dart'])), | 224 d.file("myapp.dart", transformer(['foo.dart'])), |
225 d.file("foo.dart", "import 'bar.dart';"), | 225 d.file("foo.dart", "import 'bar.dart';"), |
226 d.file("bar.dart", "import 'myapp.dart';")])]).create(); | 226 d.file("bar.dart", "import 'myapp.dart';")])]).create(); |
227 expectDependencies({ | 227 expectDependencies({ |
228 'myapp': [] | 228 'myapp': [] |
229 }); | 229 }); |
230 }); | 230 }); |
231 } | 231 } |
OLD | NEW |