Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: sdk/lib/_internal/pub/test/global/run/recompiles_if_sdk_is_out_of_date_test.dart

Issue 548603002: Use the VM to detect when a precompiled executable is out-of-date. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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'))
])
])

Powered by Google App Engine
This is Rietveld 408576698