Index: tests/language/error_stacktrace_test.dart |
diff --git a/tests/language/error_stacktrace_test.dart b/tests/language/error_stacktrace_test.dart |
index 4ec5dbd47c9177b324447b00bc351479bf885ea5..9cb7f5a6130612b511b6c52ce4d7e18d5340b789 100644 |
--- a/tests/language/error_stacktrace_test.dart |
+++ b/tests/language/error_stacktrace_test.dart |
@@ -14,15 +14,12 @@ class Helper1 { |
static int func1() { |
return func2(); |
} |
- |
static int func2() { |
return func3(); |
} |
- |
static int func3() { |
return func4(); |
} |
- |
static int func4() { |
var i = 0; |
try { |
@@ -34,7 +31,6 @@ class Helper1 { |
} |
return i; |
} |
- |
static void func5() { |
// Throw an Error. |
throw new ArgumentError("ArgumentError in func5"); |
@@ -45,15 +41,12 @@ class Helper2 { |
static int func1() { |
return func2(); |
} |
- |
static int func2() { |
return func3(); |
} |
- |
static int func3() { |
return func4(); |
} |
- |
static int func4() { |
var i = 0; |
try { |
@@ -66,7 +59,6 @@ class Helper2 { |
} |
return i; |
} |
- |
static List func5() { |
// Throw an Error. |
throw new ArgumentError("ArgumentError in func5"); |
@@ -77,15 +69,12 @@ class Helper3 { |
static int func1() { |
return func2(); |
} |
- |
static int func2() { |
return func3(); |
} |
- |
static int func3() { |
return func4(); |
} |
- |
static int func4() { |
var i = 0; |
try { |
@@ -103,7 +92,6 @@ class Helper3 { |
} |
return i; |
} |
- |
static List func5() { |
// Throw an Exception (any random object). |
throw new MyException("MyException in func5"); |