mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.autotest
git-svn-id: svn://ultimatepp.org/upp/trunk@7291 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
2b7b9dc2de
commit
e2b9e10c2f
1 changed files with 4 additions and 0 deletions
|
|
@ -81,6 +81,10 @@ CONSOLE_APP_MAIN
|
|||
Vector<String> w = Split(s, ',', false);
|
||||
TEST(Join(w, ";"), "alfa;beta;;gamma;delta");
|
||||
TEST(Join(w, ".", true), "alfa.beta.gamma.delta");
|
||||
|
||||
Vector<String> v = Split(";;;hello;;", false);
|
||||
TEST(Join(v, ";"), ";;;hello;;");
|
||||
TEST(Join(v, ";", true), "hello");
|
||||
|
||||
Vector<WString> ww = Split(ws, ',', false);
|
||||
TEST(Join(ww, ";"), "alfa;beta;;gamma;delta");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue