| 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 import 'package:expect/expect.dart'; | 5 import 'package:expect/expect.dart'; |
| 6 | 6 |
| 7 var global; | 7 var global; |
| 8 | 8 |
| 9 setGlobal(v) { | 9 setGlobal(v) { |
| 10 global = v; | 10 global = v; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 | 73 |
| 74 Expect.equals(2, global); | 74 Expect.equals(2, global); |
| 75 | 75 |
| 76 check_false_false(false, false, 1); | 76 check_false_false(false, false, 1); |
| 77 check_false_false(false, true, 2); | 77 check_false_false(false, true, 2); |
| 78 check_false_false(true, false, 3); | 78 check_false_false(true, false, 3); |
| 79 check_false_false(true, true, 4); | 79 check_false_false(true, true, 4); |
| 80 | 80 |
| 81 Expect.equals(1, global); | 81 Expect.equals(1, global); |
| 82 } | 82 } |
| OLD | NEW |