Skip to content

Commit 5dcc535

Browse files
committed
testrunner
1 parent e12b29b commit 5dcc535

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/testclangimport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1328,7 +1328,7 @@ class TestClangImport : public TestFixture {
13281328
const Token *tok = Token::findsimplematch(tokenizer.tokens(), "\"hello\"");
13291329
ASSERT(!!tok);
13301330
ASSERT(!!tok->valueType());
1331-
ASSERT_EQUALS("const signed char *", tok->valueType()->str());
1331+
ASSERT_EQUALS("const char *", tok->valueType()->str());
13321332
}
13331333

13341334
void stdinLoc() {

test/testother.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2341,7 +2341,7 @@ class TestOther : public TestFixture {
23412341
checkInvalidPointerCast("void test(float* data) {\n"
23422342
" f.write((char*)data,sizeof(float));\n"
23432343
"}", dinit(CheckInvalidPointerCastOptions, $.inconclusive = true)); // #3639
2344-
ASSERT_EQUALS("[test.cpp:2:13]: (portability, inconclusive) Casting from float * to signed char * is not portable due to different binary data representations on different platforms. [invalidPointerCast]\n", errout_str());
2344+
ASSERT_EQUALS("[test.cpp:2:13]: (portability, inconclusive) Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast]\n", errout_str());
23452345

23462346

23472347
checkInvalidPointerCast("long long* test(float* f) {\n"

0 commit comments

Comments
 (0)