Extended Parser tests with whitespace handling check.
This commit is contained in:
parent
4d984d32c3
commit
348bd98de8
@ -108,6 +108,12 @@ TEST(UtilsTests, ParserPosition)
|
||||
|
||||
ASSERT_EQ(p.row(), 1u);
|
||||
ASSERT_EQ(p.column(), 4u);
|
||||
ASSERT_EQ(p.currentCharacter(), ' ');
|
||||
|
||||
p.advance();
|
||||
|
||||
ASSERT_EQ(p.row(), 1u);
|
||||
ASSERT_EQ(p.column(), 5u);
|
||||
ASSERT_EQ(p.currentCharacter(), '\n');
|
||||
|
||||
p.advance();
|
||||
|
Reference in New Issue
Block a user