Skip to content

Commit a79a847

Browse files
committed
Fix
1 parent 932ba10 commit a79a847

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/testcondition.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ class TestCondition : public TestFixture {
777777

778778
check("void f(size_t x) {\n"
779779
" if (x == sizeof(long)) {}\n"
780-
" else { if (x == sizeof(long long))} {}\n"
780+
" else { if (x == sizeof(long long)) {} }\n"
781781
"}\n");
782782
ASSERT_EQUALS("", errout_str());
783783
}

test/testtokenize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5345,7 +5345,7 @@ class TestTokenizer : public TestFixture {
53455345
ASSERT_EQUALS("; x = 123 ;", tokenizeAndStringify(";x=({123;});"));
53465346
ASSERT_EQUALS("; x = y ;", tokenizeAndStringify(";x=({y;});"));
53475347
// #13419: Do not simplify compound statements in for loop
5348-
ASSERT_EQUALS("void foo ( int x ) { for ( ; ( { { } ; x < 1 ; } ) { ; } ) }",
5348+
ASSERT_EQUALS("void foo ( int x ) { for ( ; ( { { } ; x < 1 ; } ) ; ) { ; } }",
53495349
tokenizeAndStringify("void foo(int x) { for (;({ {}; x<1; });); }"));
53505350
}
53515351

0 commit comments

Comments
 (0)