Unverified Commit 5a08b0a7 authored by Michael Klimushyn's avatar Michael Klimushyn Committed by GitHub

Depend on specific package versions in module_test (#43388)

This will prevent the test from flaking based on updates to either
package.
parent 8e8d235d
......@@ -45,7 +45,7 @@ Future<void> main() async {
String content = await pubspec.readAsString();
content = content.replaceFirst(
'\ndependencies:\n',
'\ndependencies:\n device_info:\n package_info:\n',
'\ndependencies:\n device_info: 0.4.1\n package_info: 0.4.0+9\n',
);
await pubspec.writeAsString(content, flush: true);
await inDirectory(projectDir, () async {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment