Index: sdk/lib/_internal/pub/test/snapshot/recompiles_if_the_sdk_is_out_of_date_test.dart |
diff --git a/sdk/lib/_internal/pub/test/snapshot/recompiles_if_the_sdk_is_out_of_date_test.dart b/sdk/lib/_internal/pub/test/snapshot/recompiles_if_the_sdk_is_out_of_date_test.dart |
index 41870c7f9ecd8f7e40e53f34275320c30616abe7..1d8d213c7102f391dd508848b4be8dd9bed1ce79 100644 |
--- a/sdk/lib/_internal/pub/test/snapshot/recompiles_if_the_sdk_is_out_of_date_test.dart |
+++ b/sdk/lib/_internal/pub/test/snapshot/recompiles_if_the_sdk_is_out_of_date_test.dart |
@@ -26,8 +26,7 @@ main() { |
pubGet(output: contains("Precompiled foo:hello.")); |
d.dir(p.join(appPath, '.pub', 'bin'), [ |
- d.file('sdk-version', '0.0.1'), |
- d.dir('foo', [d.file('hello.dart.snapshot', 'junk')]) |
+ d.dir('foo', [d.outOfDateSnapshot('hello.dart.snapshot')]) |
]).create(); |
var process = pubRun(args: ['foo:hello']); |