Index: sdk/lib/_internal/pub_generated/test/get/path/path_is_file_test.dart |
diff --git a/sdk/lib/_internal/pub/test/get/path/path_is_file_test.dart b/sdk/lib/_internal/pub_generated/test/get/path/path_is_file_test.dart |
similarity index 61% |
copy from sdk/lib/_internal/pub/test/get/path/path_is_file_test.dart |
copy to sdk/lib/_internal/pub_generated/test/get/path/path_is_file_test.dart |
index 81524c808d61eed7dfecc5e23aa86068aa8d9e2c..d88df0fd3a7f33d3f46d5639548b4b146459ff26 100644 |
--- a/sdk/lib/_internal/pub/test/get/path/path_is_file_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/get/path/path_is_file_test.dart |
@@ -10,21 +10,19 @@ import '../../test_pub.dart'; |
main() { |
initConfig(); |
integration('path dependency when path is a file', () { |
- d.dir('foo', [ |
- d.libDir('foo'), |
- d.libPubspec('foo', '0.0.1') |
- ]).create(); |
+ d.dir('foo', [d.libDir('foo'), d.libPubspec('foo', '0.0.1')]).create(); |
d.file('dummy.txt', '').create(); |
var dummyPath = path.join(sandboxDir, 'dummy.txt'); |
- d.dir(appPath, [ |
- d.appPubspec({ |
- "foo": {"path": dummyPath} |
- }) |
- ]).create(); |
+ d.dir(appPath, [d.appPubspec({ |
+ "foo": { |
+ "path": dummyPath |
+ } |
+ })]).create(); |
- pubGet(error: 'Path dependency for package foo must refer to a ' |
- 'directory, not a file. Was "$dummyPath".'); |
+ pubGet( |
+ error: 'Path dependency for package foo must refer to a ' |
+ 'directory, not a file. Was "$dummyPath".'); |
}); |
-} |
+} |