Robert Reif: code cleanup
This commit is contained in:
parent
4419f4a342
commit
fe74c65c89
|
@ -2773,11 +2773,11 @@ private:
|
||||||
|
|
||||||
void simplifyString()
|
void simplifyString()
|
||||||
{
|
{
|
||||||
Tokenizer *tokenizer = 0;
|
Tokenizer tokenizer;
|
||||||
ASSERT_EQUALS("\"abc\"", tokenizer->simplifyString("\"abc\""));
|
ASSERT_EQUALS("\"abc\"", tokenizer.simplifyString("\"abc\""));
|
||||||
ASSERT_EQUALS("\"a\"", tokenizer->simplifyString("\"\\x3\""));
|
ASSERT_EQUALS("\"a\"", tokenizer.simplifyString("\"\\x3\""));
|
||||||
ASSERT_EQUALS("\"a\"", tokenizer->simplifyString("\"\\x33\""));
|
ASSERT_EQUALS("\"a\"", tokenizer.simplifyString("\"\\x33\""));
|
||||||
ASSERT_EQUALS("\"a3\"", tokenizer->simplifyString("\"\\x333\""));
|
ASSERT_EQUALS("\"a3\"", tokenizer.simplifyString("\"\\x333\""));
|
||||||
}
|
}
|
||||||
|
|
||||||
void simplifyConst()
|
void simplifyConst()
|
||||||
|
|
Loading…
Reference in New Issue