Replaced TODO in numeric test with two passing tests.

Just getting to grips with how the tokenizer behaves.
This commit is contained in:
Pete Johns 2010-09-26 16:39:19 +10:00
parent acad87c3e3
commit 5dc4759598
1 changed files with 4 additions and 1 deletions

View File

@ -191,7 +191,10 @@ private:
ASSERT_EQUALS(true, Token::Match(hexadecimal.tokens(), "%num%"));
givenACodeSampleToTokenize positive("+666");
TODO_ASSERT_EQUALS(true, Token::Match(positive.tokens(), "%num%"));
ASSERT_EQUALS(true, Token::Match(positive.tokens(), "+ %num%"));
givenACodeSampleToTokenize negative("-42");
ASSERT_EQUALS(true, Token::Match(negative.tokens(), "- %num%"));
}