* Fixed warning.
* Automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39632 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -92,7 +92,6 @@ StringAssignTest::PerformTest(void)
|
|||||||
|
|
||||||
NextSubTest();
|
NextSubTest();
|
||||||
BString newstring("SomethingElseAgain");
|
BString newstring("SomethingElseAgain");
|
||||||
const char *oldString = newstring.String();
|
|
||||||
str = new BString;
|
str = new BString;
|
||||||
str->Adopt(newstring, 2);
|
str->Adopt(newstring, 2);
|
||||||
CPPUNIT_ASSERT(strncmp(str->String(), "SomethingElseAgain", 2) == 0);
|
CPPUNIT_ASSERT(strncmp(str->String(), "SomethingElseAgain", 2) == 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user