expose buggy R5 behavior in a test so that we will not have the same bug (btw, we do not)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4246 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
323ddd5728
commit
23e88e5ee2
@ -476,6 +476,12 @@ StringSearchTest::PerformTest(void)
|
||||
i = string1->IFindLast("abc", -10);
|
||||
CPPUNIT_ASSERT(i == B_ERROR);
|
||||
delete string1;
|
||||
|
||||
NextSubTest();
|
||||
string1 = new BString("abc def ghi");
|
||||
i = string1->IFindLast("abc",4);
|
||||
CPPUNIT_ASSERT(i == 0);
|
||||
delete string1;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user