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

Side by Side Diff: tests/language/full_stacktrace3_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/full_stacktrace2_test.dart ('k') | tests/language/function_argument_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 // (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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 return 1; 85 return 1;
92 } 86 }
93 int func7() { 87 int func7() {
94 func6(); 88 func6();
95 return 1; 89 return 1;
96 } 90 }
97 main() { 91 main() {
98 var i = func7(); 92 var i = func7();
99 Expect.equals(1, i); 93 Expect.equals(1, i);
100 } 94 }
OLDNEW
« no previous file with comments | « tests/language/full_stacktrace2_test.dart ('k') | tests/language/function_argument_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698