| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 import 'package:mojo/core.dart'; | 5 import 'package:mojo/core.dart'; |
| 6 | 6 |
| 7 main() { | 7 main() { |
| 8 try { | 8 try { |
| 9 throw 'exception'; | 9 throw 'exception'; |
| 10 } catch (exception, stackTrace) { | 10 } catch (exception, stackTrace) { |
| 11 assert(exception == 'exception'); | 11 assert(exception == 'exception'); |
| 12 assert(stackTrace != null); | 12 assert(stackTrace != null); |
| 13 } | 13 } |
| 14 } | 14 } |
| OLD | NEW |