File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -604,14 +604,12 @@ TEST(ParserTests, ParseArithmeticPrecedence) {
604604 EXPECT_EQ (right_bin->op (), TokenType::Star);
605605
606606 // Right's left is ConstantExpr with value 2
607- auto * right_left =
608- dynamic_cast <ConstantExpr*>(const_cast <Expression*>(&right_bin->left ()));
607+ auto * right_left = dynamic_cast <ConstantExpr*>(const_cast <Expression*>(&right_bin->left ()));
609608 ASSERT_NE (right_left, nullptr );
610609 EXPECT_EQ (right_left->value ().as_int64 (), 2 );
611610
612611 // Right's right is ConstantExpr with value 3
613- auto * right_right =
614- dynamic_cast <ConstantExpr*>(const_cast <Expression*>(&right_bin->right ()));
612+ auto * right_right = dynamic_cast <ConstantExpr*>(const_cast <Expression*>(&right_bin->right ()));
615613 ASSERT_NE (right_right, nullptr );
616614 EXPECT_EQ (right_right->value ().as_int64 (), 3 );
617615}
You can’t perform that action at this time.
0 commit comments