forked from Alepha/Alepha
Add an extra test to split.
This commit is contained in:
@ -55,5 +55,6 @@ static auto init= enroll <=[]
|
|||||||
{ "Empty string", { "", ':' }, { "" } },
|
{ "Empty string", { "", ':' }, { "" } },
|
||||||
{ "Single token", { "item", ':' }, { "item" } },
|
{ "Single token", { "item", ':' }, { "item" } },
|
||||||
{ "Two tokens", { "first:second", ':' }, { "first", "second" } },
|
{ "Two tokens", { "first:second", ':' }, { "first", "second" } },
|
||||||
|
{ "Empty string many tokens", { ":::", ':' }, { "", "", "", "" } },
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user