Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: utils/tests/pub/pub_install_sdk_test.dart

Issue 10916190: Support both new and old style package layouts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Respond to review. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: utils/tests/pub/pub_install_sdk_test.dart
diff --git a/utils/tests/pub/pub_install_sdk_test.dart b/utils/tests/pub/pub_install_sdk_test.dart
index 43943d37eeca3081fcef273bede25f388244c684..c51d363c924d0902ceaa86ad18bc83305159c9f7 100644
--- a/utils/tests/pub/pub_install_sdk_test.dart
+++ b/utils/tests/pub/pub_install_sdk_test.dart
@@ -13,7 +13,11 @@ main() {
test('checks out a package from the SDK', () {
dir(sdkPath, [
file('revision', '1234'),
- dir('pkg', [packageDir("foo", "0.0.1234")])
+ dir('pkg', [
+ dir('foo', [
+ libDir('foo', 'foo 0.0.1234')
+ ])
+ ])
]).scheduleCreate();
dir(appPath, [

Powered by Google App Engine
This is Rietveld 408576698