check for pubspec instead of lib/ (#107968)
This commit is contained in:
@@ -936,7 +936,7 @@ void main() {
|
||||
|
||||
expect(await pubDependencies.isUpToDate(fileSystem), false); // dependencies are missing.
|
||||
|
||||
fileSystem.file('.pub-cache/hosted/pub.dartlang.org/example-7.0.0/lib/foo.dart')
|
||||
fileSystem.file('.pub-cache/hosted/pub.dartlang.org/example-7.0.0/pubspec.yaml')
|
||||
.createSync(recursive: true);
|
||||
|
||||
expect(await pubDependencies.isUpToDate(fileSystem), true);
|
||||
|
||||
Reference in New Issue
Block a user