Index: sdk/lib/_internal/pub/test/global/run/recompiles_if_sdk_is_out_of_date_test.dart |
diff --git a/sdk/lib/_internal/pub/test/global/run/recompiles_if_sdk_is_out_of_date_test.dart b/sdk/lib/_internal/pub/test/global/run/recompiles_if_sdk_is_out_of_date_test.dart |
index df4b029704db3ab19fbd05e5899dff7619c17c52..bb38dd7da86f347c34ce99d304acf244376f4590 100644 |
--- a/sdk/lib/_internal/pub/test/global/run/recompiles_if_sdk_is_out_of_date_test.dart |
+++ b/sdk/lib/_internal/pub/test/global/run/recompiles_if_sdk_is_out_of_date_test.dart |
@@ -24,10 +24,7 @@ main() { |
d.dir(cachePath, [ |
d.dir('global_packages', [ |
d.dir('foo', [ |
- d.dir('bin', [ |
- d.file('sdk-version', '0.0.1\n'), |
- d.file('script.dart.snapshot', 'junk') |
- ]) |
+ d.dir('bin', [d.outOfDateSnapshot('script.dart.snapshot')]) |
]) |
]) |
]).create(); |
@@ -43,7 +40,6 @@ main() { |
d.dir('global_packages', [ |
d.dir('foo', [ |
d.dir('bin', [ |
- d.file('sdk-version', '0.1.2+3\n'), |
d.matcherFile('script.dart.snapshot', contains('ok')) |
]) |
]) |