TODO test case for count() added
This commit is contained in:
parent
12b29e35ad
commit
77d677dd59
|
@ -897,6 +897,7 @@ private:
|
||||||
ASSERT_EQUALS(1, CheckBufferOverrun::count("%s"));
|
ASSERT_EQUALS(1, CheckBufferOverrun::count("%s"));
|
||||||
ASSERT_EQUALS(6, CheckBufferOverrun::count("%-5s"));
|
ASSERT_EQUALS(6, CheckBufferOverrun::count("%-5s"));
|
||||||
ASSERT_EQUALS(2, CheckBufferOverrun::count("\\\""));
|
ASSERT_EQUALS(2, CheckBufferOverrun::count("\\\""));
|
||||||
|
TODO_ASSERT_EQUALS(6, CheckBufferOverrun::count("Hello\\0Text"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void strncpy1()
|
void strncpy1()
|
||||||
|
|
Loading…
Reference in New Issue