Fixed the test. Now it's successful on both OBOS and R5

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1752 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2002-10-29 05:43:34 +00:00
parent ba3487e33a
commit c3af0b3141
1 changed files with 4 additions and 4 deletions

View File

@ -32,10 +32,10 @@ StringCharAccessTest::PerformTest(void)
//ByteAt(int32)
NextSubTest();
CPPUNIT_ASSERT(string[-10] == 0);
CPPUNIT_ASSERT(string[200] == 0);
CPPUNIT_ASSERT(string[1] == ' ');
CPPUNIT_ASSERT(string[7] == 'e');
CPPUNIT_ASSERT(string.ByteAt(-10) == 0);
CPPUNIT_ASSERT(string.ByteAt(200) == 0);
CPPUNIT_ASSERT(string.ByteAt(1) == ' ');
CPPUNIT_ASSERT(string.ByteAt(7) == 'e');
}