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

Unified Diff: utils/tests/pub/install/pub_install_test.dart

Issue 12790006: Remove support for SDK dependencies. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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/install/pub_install_test.dart
diff --git a/utils/tests/pub/install/pub_install_test.dart b/utils/tests/pub/install/pub_install_test.dart
index b82565a71f6096c6d0d1599936581cb6f77282b2..f01bc8fe7101b3a2264834ac34d6696aa0091e1c 100644
--- a/utils/tests/pub/install/pub_install_test.dart
+++ b/utils/tests/pub/install/pub_install_test.dart
@@ -67,17 +67,13 @@ main() {
});
integration('does not add a package if it does not have a "lib" directory', () {
- // Using an SDK source, but this should be true of all sources.
- dir(sdkPath, [
- dir('pkg', [
- dir('foo', [
- libPubspec('foo', '0.0.0-not.used')
- ])
- ])
+ // Using a path source, but this should be true of all sources.
+ dir('foo', [
+ libPubspec('foo', '0.0.0-not.used')
]).scheduleCreate();
dir(appPath, [
- pubspec({"name": "myapp", "dependencies": {"foo": {"sdk": "foo"}}})
+ pubspec({"name": "myapp", "dependencies": {"foo": {"path": "../foo"}}})
]).scheduleCreate();
schedulePub(args: ['install'],

Powered by Google App Engine
This is Rietveld 408576698