Update irrString test due to split changes in r6007

We keep separators now in their own tokens.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6013 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2019-12-16 16:51:30 +00:00
parent 3280b3319e
commit 28725e137a
2 changed files with 4 additions and 4 deletions

@ -20,9 +20,9 @@ static bool testSplit()
core::stringw teststring(L"[b]this [/b] is a [color=0xff000000]test[/color].");
core::list<core::stringw> parts1;
teststring.split<core::list<core::stringw> >(parts1, L"[");
core::list<core::stringw> parts2;
teststring.split<core::list<core::stringw> >(parts2, L"[", 1, false, true);
return (parts1.getSize()==4) && (parts2.getSize()==5);
core::array<core::stringw> parts2;
teststring.split<core::array<core::stringw> >(parts2, L"[", 1, false, true);
return (parts1.size()==4) && (parts2.size()==9);
}
static bool testFastAlloc()

@ -1,4 +1,4 @@
Tests finished. 72 tests of 72 passed.
Compiled as DEBUG
Test suite pass at GMT Thu Dec 12 14:36:27 2019
Test suite pass at GMT Mon Dec 16 16:50:00 2019