Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(652)

Side by Side Diff: tests/corelib/hidden_library2_test.dart

Issue 16520010: Fix hidden_library2_test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698