| 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 /// Test data for the end2end test. | 5 /// Test data for the end2end test. |
| 6 library test.end2end.data; | 6 library test.end2end.data; |
| 7 | 7 |
| 8 import 'test_helper.dart'; | 8 import 'test_helper.dart'; |
| 9 | 9 |
| 10 class TestSpec extends TestSpecBase { | 10 class TestSpec extends TestSpecBase { |
| (...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 ''', ''' | 810 ''', ''' |
| 811 main(a) { | 811 main(a) { |
| 812 return (a ? () { | 812 return (a ? () { |
| 813 return 0; | 813 return 0; |
| 814 } : () { | 814 } : () { |
| 815 return 1; | 815 return 1; |
| 816 })(); | 816 })(); |
| 817 } | 817 } |
| 818 '''), | 818 '''), |
| 819 ]), | 819 ]), |
| 820 |
| 821 const Group('Constructors', const <TestSpec>[ |
| 822 const TestSpec(''' |
| 823 class C { |
| 824 C() {} |
| 825 } |
| 826 main() { |
| 827 return new C(); |
| 828 } |
| 829 '''), |
| 830 ]), |
| 820 ]; | 831 ]; |
| OLD | NEW |