run astyle

This commit is contained in:
Robert Reif 2011-08-06 17:53:06 -04:00
parent c6c5ada8da
commit 3bd8bf0e75
1 changed files with 2 additions and 2 deletions

View File

@ -5578,8 +5578,8 @@ private:
void simplifyCalculations()
{
ASSERT_EQUALS("void foo ( char str [ ] ) { char x ; x = * str ; }",
tokenizeAndStringify("void foo ( char str [ ] ) { char x = 0 | ( * str ) ; }", true));
ASSERT_EQUALS("void foo ( char str [ ] ) { char x ; x = * str ; }",
tokenizeAndStringify("void foo ( char str [ ] ) { char x = 0 | ( * str ) ; }", true));
ASSERT_EQUALS("void foo ( ) { if ( b ) { } }",
tokenizeAndStringify("void foo ( ) { if (b | 0) { } }", true));
ASSERT_EQUALS("void foo ( ) { if ( b ) { } }",