Index: runtime/vm/ast_printer_test.cc |
diff --git a/runtime/vm/ast_printer_test.cc b/runtime/vm/ast_printer_test.cc |
index f3f7fd67cc2af5a9fd2e291adbc57a4fb54b2016..5ea05a40fdc6839cc00d5bf51dbdc7ef4cf4ad95 100644 |
--- a/runtime/vm/ast_printer_test.cc |
+++ b/runtime/vm/ast_printer_test.cc |
@@ -16,11 +16,9 @@ namespace dart { |
TEST_CASE(AstPrinter) { |
const TokenPosition kPos = TokenPosition::kNoSource; |
- LocalVariable* v = |
- new LocalVariable(kPos, |
- kPos, |
- String::ZoneHandle(Symbols::New(thread, "wurscht")), |
- Type::ZoneHandle(Type::DynamicType())); |
+ LocalVariable* v = new LocalVariable( |
+ kPos, kPos, String::ZoneHandle(Symbols::New(thread, "wurscht")), |
+ Type::ZoneHandle(Type::DynamicType())); |
v->set_index(5); |
AstPrinter ast_printer; |
LoadLocalNode* ll = new LoadLocalNode(kPos, v); |
@@ -33,10 +31,9 @@ TEST_CASE(AstPrinter) { |
ast_printer.PrintNode(new ReturnNode(kPos)); |
- ast_printer.PrintNode(new BinaryOpNode(kPos, |
- Token::kADD, |
- new LiteralNode(kPos, Smi::ZoneHandle(Smi::New(3))), |
- new LiteralNode(kPos, Smi::ZoneHandle(Smi::New(5))))); |
+ ast_printer.PrintNode(new BinaryOpNode( |
+ kPos, Token::kADD, new LiteralNode(kPos, Smi::ZoneHandle(Smi::New(3))), |
+ new LiteralNode(kPos, Smi::ZoneHandle(Smi::New(5))))); |
ast_printer.PrintNode(new UnaryOpNode(kPos, Token::kNEGATE, ll)); |
} |