OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library pub_tests; | 5 library pub_tests; |
6 | 6 |
7 import 'package:scheduled_test/scheduled_test.dart'; | 7 import 'package:scheduled_test/scheduled_test.dart'; |
8 | 8 |
9 import '../../descriptor.dart' as d; | 9 import '../../descriptor.dart' as d; |
10 import '../../test_pub.dart'; | 10 import '../../test_pub.dart'; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 Reactivating foo 1.0.0... | 50 Reactivating foo 1.0.0... |
51 Precompiling executables... | 51 Precompiling executables... |
52 Loading source assets... | 52 Loading source assets... |
53 Precompiled foo:script. | 53 Precompiled foo:script. |
54 Installed executable foo-script. | 54 Installed executable foo-script. |
55 Reactivated 1 package.'''); | 55 Reactivated 1 package.'''); |
56 | 56 |
57 // The broken versions should have been replaced. | 57 // The broken versions should have been replaced. |
58 d.dir(cachePath, [ | 58 d.dir(cachePath, [ |
59 d.dir('bin', [ | 59 d.dir('bin', [ |
60 // 255 is the VM's exit code upon seeing an out-of-date snapshot. | 60 // 253 is the VM's exit code upon seeing an out-of-date snapshot. |
61 d.matcherFile(binStubName('foo-script'), contains('255')) | 61 d.matcherFile(binStubName('foo-script'), contains('253')) |
62 ]) | 62 ]) |
63 ]).validate(); | 63 ]).validate(); |
64 }); | 64 }); |
65 } | 65 } |
OLD | NEW |