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

Side by Side Diff: tests/language/full_stacktrace1_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
OLDNEW
1 // (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
3 // BSD-style license that can be found in the LICENSE file.
4
5 import "package:expect/expect.dart";
6
7 void func1() { 1 void func1() {
8 throw new Exception("Test peanut gallery request for Full stacktrace"); 2 throw new Exception("Test peanut gallery request for Full stacktrace");
9 } 3 }
10 void func2() { 4 void func2() {
11 func1(); 5 func1();
12 } 6 }
13 void func3() { 7 void func3() {
14 try { 8 try {
15 func2(); 9 func2();
16 } on Object catch(e, s) { 10 } on Object catch(e, s) {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 return 1; 47 return 1;
54 } 48 }
55 int func6() { 49 int func6() {
56 func5(); 50 func5();
57 return 1; 51 return 1;
58 } 52 }
59 main() { 53 main() {
60 var i = func6(); 54 var i = func6();
61 Expect.equals(1, i); 55 Expect.equals(1, i);
62 } 56 }
OLDNEW
« no previous file with comments | « tests/language/for_without_condition_test.dart ('k') | tests/language/full_stacktrace2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698