From 172ad645966c92d9b863f3d76a0fcf5c0340bfd0 Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Wed, 25 Oct 2023 23:59:56 -0400 Subject: [PATCH] Add an extra test to `split`. --- string_algorithms.test/0.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/string_algorithms.test/0.cc b/string_algorithms.test/0.cc index b982d52..ba13f4e 100644 --- a/string_algorithms.test/0.cc +++ b/string_algorithms.test/0.cc @@ -55,5 +55,6 @@ static auto init= enroll <=[] { "Empty string", { "", ':' }, { "" } }, { "Single token", { "item", ':' }, { "item" } }, { "Two tokens", { "first:second", ':' }, { "first", "second" } }, + { "Empty string many tokens", { ":::", ':' }, { "", "", "", "" } }, }; };