OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 dart2js.serialization.analysis4_test; | 5 import 'package:test/test.dart'; |
6 | 6 |
7 import 'analysis_test_helper.dart' as test; | 7 import 'helper.dart' show check; |
8 import 'test_helper.dart'; | |
9 | 8 |
10 main() { | 9 main() { |
11 test.main(testSegment(4, test.SPLIT_COUNT, test.SKIP_COUNT)); | 10 group('compile binary operators', () { |
| 11 test('plus on ints', () { |
| 12 return check('main() { return 1 + 2; }'); |
| 13 }); |
| 14 }); |
12 } | 15 } |
OLD | NEW |