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

Side by Side Diff: tests/language/try_catch_on_syntax_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_catch5_test.dart ('k') | tests/language/try_catch_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 18 matching lines...) Expand all
35 } 33 }
36 34
37 static void testMain() { 35 static void testMain() {
38 test1(); 36 test1();
39 } 37 }
40 } 38 }
41 39
42 main() { 40 main() {
43 TryCatchTest.testMain(); 41 TryCatchTest.testMain();
44 } 42 }
OLDNEW
« no previous file with comments | « tests/language/try_catch5_test.dart ('k') | tests/language/try_catch_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698