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:
parent
ba3487e33a
commit
c3af0b3141
|
@ -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');
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue