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

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

Issue 2765693002: Update all tests (Closed)
Patch Set: Created 3 years, 9 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
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.
4 4
5 // Test that the internal hidden library doesn't make problems with taking 5 // Test that the internal hidden library doesn't make problems with taking
6 // stack-traces. 6 // stack-traces.
7 7
8 main() { 8 main() {
9 print(['x'].where((_) { 9 print(['x'].where((_) {
10 // We actually don't really care for the successful case. We just want to 10 // We actually don't really care for the successful case. We just want to
11 // make sure that the test doesn't crash when it is negative. 11 // make sure that the test doesn't crash when it is negative.
12 throw 'fisk'; /// 01: runtime error 12 throw 'fisk'; //# 01: runtime error
13 return true; 13 return true;
14 }).toList()); 14 }).toList());
15 } 15 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698