Skip to content

Commit c43d537

Browse files
committed
renamed TestBufferOverrun test method to same name as CheckBufferOverrun method that is tested
1 parent 2b7c713 commit c43d537

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/testbufferoverrun.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ class TestBufferOverrun : public TestFixture {
230230
TEST_CASE(alloc4); // Buffer allocated with alloca
231231
TEST_CASE(malloc_memset); // using memset on buffer allocated with malloc
232232

233-
TEST_CASE(counter_test);
233+
TEST_CASE(countSprintfLength);
234234
TEST_CASE(minsize_argvalue);
235235
TEST_CASE(minsize_sizeof);
236236
TEST_CASE(minsize_strlen);
@@ -3126,7 +3126,7 @@ class TestBufferOverrun : public TestFixture {
31263126
ASSERT_EQUALS("[test.cpp:3]: (error) Buffer is accessed out of bounds.\n", errout.str());
31273127
}
31283128

3129-
void counter_test() const {
3129+
void countSprintfLength() const {
31303130
std::list<const Token*> unknownParameter;
31313131
unknownParameter.push_back(0);
31323132

0 commit comments

Comments
 (0)