TODO test case for count() added

This commit is contained in:
Reijo Tomperi 2009-09-29 18:51:29 +03:00
parent 12b29e35ad
commit 77d677dd59
1 changed files with 1 additions and 0 deletions

View File

@ -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()