Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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. |
|
Lasse Reichstein Nielsen
2013/06/13 12:00:09
Add an empty line between license and explanation.
floitsch
2013/06/13 12:11:07
Done.
| |
| 4 // Test that the internal hidden library doesn't make problems with taking | 4 // Test that the internal hidden library doesn't make problems with taking |
| 5 // stack-traces. | 5 // stack-traces. |
| 6 | 6 |
| 7 main() { | 7 main() { |
| 8 print(['x'].where((_) { | 8 print(['x'].where((_) { |
| 9 // We actually don't really care for the successful case. We just want to | 9 // We actually don't really care for the successful case. We just want to |
| 10 // make sure that the test doesn't crash when it is negative. | 10 // make sure that the test doesn't crash when it is negative. |
| 11 throw 'fisk'; /// 1: runtime error | 11 throw 'fisk'; /// 01: runtime error |
| 12 return true; | 12 return true; |
| 13 })); | 13 }).toList()); |
| 14 } | 14 } |
| OLD | NEW |