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

Unified Diff: tests/language/vm/lazy_deopt_with_exception_and_stacktrace_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: tests/language/vm/lazy_deopt_with_exception_and_stacktrace_test.dart
diff --git a/tests/language/vm/lazy_deopt_with_exception_and_stacktrace_test.dart b/tests/language/vm/lazy_deopt_with_exception_and_stacktrace_test.dart
index f67845a2ae7dbc577999de7233afc3931268eff8..804997ab48ca364eb9585c7350185ebb46a6a54b 100644
--- a/tests/language/vm/lazy_deopt_with_exception_and_stacktrace_test.dart
+++ b/tests/language/vm/lazy_deopt_with_exception_and_stacktrace_test.dart
@@ -13,7 +13,6 @@ class C {
var x = 42;
}
-
const NeverInline = "NeverInline";
@NeverInline
@@ -36,17 +35,16 @@ T1(C c, bool b) {
return c.x + 1;
}
-
@NeverInline
T2(C c, bool b) {
try {
AA(c, b);
- } on String catch(e, st) {
+ } on String catch (e, st) {
print(e);
print(st);
Expect.isTrue(st is StackTrace, "is StackTrace");
Expect.isTrue(false);
- } on int catch(e, st) {
+ } on int catch (e, st) {
Expect.equals(e, 123);
Expect.equals(b, true);
Expect.equals(c.x, 2.5);
@@ -56,7 +54,6 @@ T2(C c, bool b) {
return c.x + 1;
}
-
main() {
var c = new C();
for (var i = 0; i < 10000; ++i) {

Powered by Google App Engine
This is Rietveld 408576698