| Index: tests/language/full_stacktrace3_test.dart
|
| diff --git a/tests/language/full_stacktrace3_test.dart b/tests/language/full_stacktrace3_test.dart
|
| index 2d98a9b7cfd7cd3de9b4bc3887014f324b5c6106..81a4ed071882d7c700d0d62dabb722007f8a0660 100644
|
| --- a/tests/language/full_stacktrace3_test.dart
|
| +++ b/tests/language/full_stacktrace3_test.dart
|
| @@ -7,13 +7,15 @@ import "package:expect/expect.dart";
|
| void func1() {
|
| throw new Exception("Test full stacktrace");
|
| }
|
| +
|
| void func2() {
|
| func1();
|
| }
|
| +
|
| void func3() {
|
| try {
|
| func2();
|
| - } on Object catch(e, s) {
|
| + } on Object catch (e, s) {
|
| var fullTrace = s.toString();
|
| print(fullTrace);
|
| Expect.isTrue(fullTrace.contains("func1"));
|
| @@ -27,14 +29,16 @@ void func3() {
|
| throw new Exception("This is not a rethrow");
|
| }
|
| }
|
| +
|
| int func4() {
|
| func3();
|
| return 1;
|
| }
|
| +
|
| int func5() {
|
| try {
|
| func4();
|
| - } on Object catch(e, s) {
|
| + } on Object catch (e, s) {
|
| var fullTrace = s.toString();
|
| print(fullTrace);
|
| Expect.isFalse(fullTrace.contains("func1"));
|
| @@ -48,14 +52,17 @@ int func5() {
|
| }
|
| return 1;
|
| }
|
| +
|
| int func6() {
|
| func5();
|
| return 1;
|
| }
|
| +
|
| int func7() {
|
| func6();
|
| return 1;
|
| }
|
| +
|
| main() {
|
| var i = func7();
|
| Expect.equals(1, i);
|
|
|