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

Side by Side Diff: tests/language/try_catch_test.dart

Issue 12743005: Revert "Remove Expect from core library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (first upload failed). Created 7 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 | Annotate | Revision Log
« no previous file with comments | « tests/language/try_catch_on_syntax_test.dart ('k') | tests/language/type_cast_vm_test.dart » ('j') | 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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:expect/expect.dart";
6
7 class MyException { } 5 class MyException { }
8 6
9 class MyException1 extends MyException { } 7 class MyException1 extends MyException { }
10 8
11 class MyException2 extends MyException { } 9 class MyException2 extends MyException { }
12 10
13 class TryCatchTest { 11 class TryCatchTest {
14 static void test1() { 12 static void test1() {
15 var foo = 0; 13 var foo = 0;
16 try { 14 try {
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 test6(); 144 test6();
147 test7(); 145 test7();
148 test8(); 146 test8();
149 test9(); 147 test9();
150 } 148 }
151 } 149 }
152 150
153 main() { 151 main() {
154 TryCatchTest.testMain(); 152 TryCatchTest.testMain();
155 } 153 }
OLDNEW
« no previous file with comments | « tests/language/try_catch_on_syntax_test.dart ('k') | tests/language/type_cast_vm_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698