Index: utils/tests/pub/validator_test.dart |
diff --git a/utils/tests/pub/validator_test.dart b/utils/tests/pub/validator_test.dart |
index 75b51ff010b66366d3ab7e4b231653196d25fc96..33183dd4ebe513ba505213364c311b81108c8960 100644 |
--- a/utils/tests/pub/validator_test.dart |
+++ b/utils/tests/pub/validator_test.dart |
@@ -112,7 +112,7 @@ main() { |
integration('has an unconstrained dependency on "unittest"', () { |
dir(appPath, [ |
- libPubspec("test_pkg", "1.0.0", [ |
+ libPubspec("test_pkg", "1.0.0", deps: [ |
{'hosted': 'unittest'} |
]) |
]).scheduleCreate(); |
@@ -302,7 +302,7 @@ main() { |
})); |
dir(appPath, [ |
- libPubspec("test_pkg", "1.0.0", [ |
+ libPubspec("test_pkg", "1.0.0", deps: [ |
{'git': 'git://github.com/dart-lang/foo'} |
]) |
]).scheduleCreate(); |
@@ -326,7 +326,7 @@ main() { |
})); |
dir(appPath, [ |
- libPubspec("test_pkg", "1.0.0", [ |
+ libPubspec("test_pkg", "1.0.0", deps: [ |
{'git': 'git://github.com/dart-lang/foo'} |
]) |
]).scheduleCreate(); |
@@ -350,7 +350,7 @@ main() { |
})); |
dir(appPath, [ |
- libPubspec("test_pkg", "1.0.0", [ |
+ libPubspec("test_pkg", "1.0.0", deps: [ |
{'git': 'git://github.com/dart-lang/foo'} |
]) |
]).scheduleCreate(); |
@@ -371,7 +371,7 @@ main() { |
})); |
dir(appPath, [ |
- libPubspec("test_pkg", "1.0.0", [ |
+ libPubspec("test_pkg", "1.0.0", deps: [ |
{ |
'git': {'url': 'git://github.com/dart-lang/foo'}, |
'version': '>=1.0.0 <2.0.0' |
@@ -394,7 +394,7 @@ main() { |
})); |
dir(appPath, [ |
- libPubspec("test_pkg", "1.0.0", [ |
+ libPubspec("test_pkg", "1.0.0", deps: [ |
{ |
'git': {'url': 'git://github.com/dart-lang/foo'}, |
'version': '0.2.3' |
@@ -412,7 +412,7 @@ main() { |
group('and it should not suggest a version', () { |
integration("if there's no lockfile", () { |
dir(appPath, [ |
- libPubspec("test_pkg", "1.0.0", [ |
+ libPubspec("test_pkg", "1.0.0", deps: [ |
{'hosted': 'foo'} |
]) |
]).scheduleCreate(); |
@@ -424,7 +424,7 @@ main() { |
integration("if the lockfile doesn't have an entry for the " |
"dependency", () { |
dir(appPath, [ |
- libPubspec("test_pkg", "1.0.0", [ |
+ libPubspec("test_pkg", "1.0.0", deps: [ |
{'hosted': 'foo'} |
]), |
file("pubspec.lock", json.stringify({ |
@@ -450,7 +450,7 @@ main() { |
integration('and it should suggest a constraint based on the locked ' |
'version', () { |
dir(appPath, [ |
- libPubspec("test_pkg", "1.0.0", [ |
+ libPubspec("test_pkg", "1.0.0", deps: [ |
{'hosted': 'foo'} |
]), |
file("pubspec.lock", json.stringify({ |
@@ -475,7 +475,7 @@ main() { |
integration('and it should suggest a concrete constraint if the locked ' |
'version is pre-1.0.0', () { |
dir(appPath, [ |
- libPubspec("test_pkg", "1.0.0", [ |
+ libPubspec("test_pkg", "1.0.0", deps: [ |
{'hosted': 'foo'} |
]), |
file("pubspec.lock", json.stringify({ |
@@ -501,7 +501,7 @@ main() { |
integration('has a hosted dependency on itself', () { |
dir(appPath, [ |
- libPubspec("test_pkg", "1.0.0", [ |
+ libPubspec("test_pkg", "1.0.0", deps: [ |
{'hosted': {'name': 'test_pkg', 'version': '>=1.0.0'}} |
]) |
]).scheduleCreate(); |