| 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 import 'package:test/test.dart'; | 5 import 'package:test/test.dart'; |
| 6 | 6 |
| 7 import 'helper.dart' show check; | 7 import 'helper.dart' show check; |
| 8 | 8 |
| 9 main() { | 9 main() { |
| 10 test('try catch', () { | 10 test('try catch', () { |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 print('halo'); | 86 print('halo'); |
| 87 } catch (e) { | 87 } catch (e) { |
| 88 print('howdy'); | 88 print('howdy'); |
| 89 } finally { | 89 } finally { |
| 90 print('bye'); | 90 print('bye'); |
| 91 } | 91 } |
| 92 }'''; | 92 }'''; |
| 93 return check(code); | 93 return check(code); |
| 94 }); | 94 }); |
| 95 } | 95 } |
| 96 | |
| OLD | NEW |