From 28725e137ad2cdfd0c3f8500f7d8cbf9fb05b11f Mon Sep 17 00:00:00 2001 From: cutealien Date: Mon, 16 Dec 2019 16:51:30 +0000 Subject: [PATCH] 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 --- tests/irrString.cpp | 6 +++--- tests/tests-last-passed-at.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/irrString.cpp b/tests/irrString.cpp index ad35e89..a5298ff 100644 --- a/tests/irrString.cpp +++ b/tests/irrString.cpp @@ -20,9 +20,9 @@ static bool testSplit() core::stringw teststring(L"[b]this [/b] is a [color=0xff000000]test[/color]."); core::list parts1; teststring.split >(parts1, L"["); - core::list parts2; - teststring.split >(parts2, L"[", 1, false, true); - return (parts1.getSize()==4) && (parts2.getSize()==5); + core::array parts2; + teststring.split >(parts2, L"[", 1, false, true); + return (parts1.size()==4) && (parts2.size()==9); } static bool testFastAlloc() diff --git a/tests/tests-last-passed-at.txt b/tests/tests-last-passed-at.txt index 0a2f4d1..1f5c011 100644 --- a/tests/tests-last-passed-at.txt +++ b/tests/tests-last-passed-at.txt @@ -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