OLD | NEW |
1 import 'package:observatory/service_io.dart'; | 1 import 'package:observatory/service_io.dart'; |
2 import 'package:unittest/unittest.dart'; | 2 import 'package:unittest/unittest.dart'; |
3 import 'test_helper.dart'; | 3 import 'test_helper.dart'; |
4 | 4 |
5 var tests = [ | 5 var tests = [ |
6 | 6 |
7 (Isolate isolate) { | 7 (Isolate isolate) { |
8 VM vm = isolate.owner; | 8 VM vm = isolate.owner; |
9 expect(vm.targetCPU, isNotNull); | 9 expect(vm.targetCPU, isNotNull); |
10 expect(vm.architectureBits == 32 || | 10 expect(vm.architectureBits == 32 || |
11 vm.architectureBits == 64, isTrue); | 11 vm.architectureBits == 64, isTrue); |
12 }, | 12 }, |
13 | 13 |
14 ]; | 14 ]; |
15 | 15 |
16 main(args) => runIsolateTests(args, tests); | 16 main(args) => runIsolateTests(args, tests); |
OLD | NEW |