Skip to content

Commit 6821726

Browse files
committed
refactor tests
1 parent bce3fbe commit 6821726

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

test/testother.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,7 @@ class TestOther : public TestFixture {
307307
TEST_CASE(knownConditionFloating);
308308
TEST_CASE(knownConditionPrefixed);
309309

310-
TEST_CASE(ternarySameValuePlatformDependent1); // #13773
311-
TEST_CASE(ternarySameValuePlatformDependent2); // #23773
310+
TEST_CASE(ternarySameValueSizeof); // #13773
312311
}
313312

314313
#define check(...) check_(__FILE__, __LINE__, __VA_ARGS__)
@@ -13097,16 +13096,13 @@ class TestOther : public TestFixture {
1309713096
errout_str());
1309813097
}
1309913098

13100-
void ternarySameValuePlatformDependent1() // #13773
13099+
void ternarySameValueSizeof() // #13773
1310113100
{
1310213101
check("void f(void) {\n"
1310313102
" b = a ? sizeof(unsigned int) : sizeof(uint32_t);\n"
1310413103
"}\n");
1310513104
ASSERT_EQUALS("", errout_str());
13106-
}
1310713105

13108-
void ternarySameValuePlatformDependent2() // #13773
13109-
{
1311013106
check("void f(void) {\n"
1311113107
" b = a ? sizeof(uint32_t) : sizeof(uint32_t);\n"
1311213108
"}\n");

0 commit comments

Comments
 (0)