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

Unified Diff: sdk/lib/_internal/pub/test/snapshot/recompiles_if_the_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/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']);

Powered by Google App Engine
This is Rietveld 408576698