src/developer/debug/zxdb/expr/expr_parser_unittest.cc
// This test covers that the extent of number tokens are identified properly.
// Actually converting the strings to integers should be covered by the number
// parser tests.
This test covers that the extent of number tokens are identified properly.
Actually converting the strings to integers should be covered by the number
parser tests.
This test covers that the extent of number tokens are identified properly . Actually converting the strings to integers should be covered by the number parser tests .
TEST_F(ExprParserTest, IntegerLiterals) {
  EXPECT_EQ("LITERAL(5)\n", GetParseString("5"));
  EXPECT_EQ("LITERAL(5ull)\n", GetParseString(" 5ull"));
  EXPECT_EQ("LITERAL(0xAbC)\n", GetParseString("0xAbC"));
  EXPECT_EQ("LITERAL(0o551)\n", GetParseString("  0o551 "));
  EXPECT_EQ("LITERAL(0123)\n", GetParseString("0123"));
}
TEST_F ( ExprParserTest , IntegerLiterals ) { EXPECT_EQ ( " \n " , GetParseString ( " " ) ) ; EXPECT_EQ ( " \n " , GetParseString ( " " ) ) ; EXPECT_EQ ( " \n " , GetParseString ( " " ) ) ; EXPECT_EQ ( " \n " , GetParseString ( " " ) ) ; EXPECT_EQ ( " \n " , GetParseString ( " " ) ) ; }
This test covers that the extent of number tokens are identified properly.
This test covers that the extent of number tokens are identified properly .