Skip to content

Commit e3c0981

Browse files
committed
update tests
1 parent f15968f commit e3c0981

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/testvarid.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,7 +1328,7 @@ class TestVarID : public TestFixture {
13281328
ASSERT_EQUALS(expected2, tokenize(code2));
13291329

13301330
const char code3[] = "extern void (*arr[10])(uint32_t some);\n";
1331-
const char expected3[] = "1: extern void ( * arr@1 [ 10 ] ) ( uint32_t some@2 ) ;\n";
1331+
const char expected3[] = "1: extern void ( * arr@1 [ 10 ] ) ( uint32_t ) ;\n";
13321332
ASSERT_EQUALS(expected3, tokenize(code3));
13331333

13341334
const char code4[] = "_Static_assert(sizeof((struct S){0}.i) == 4);\n"; // #12729
@@ -3545,7 +3545,7 @@ class TestVarID : public TestFixture {
35453545
"}\n";
35463546
ASSERT_EQUALS("1: void f ( ) {\n"
35473547
"2: int * p@1 ;\n"
3548-
"3: void ( * a@2 [ 1 ] ) ( int * p ) = { 0 } ;\n"
3548+
"3: void ( * a@2 [ 1 ] ) ( int * ) = { 0 } ;\n"
35493549
"4: }\n",
35503550
tokenize(code4));
35513551
}

0 commit comments

Comments
 (0)