mirror of
https://github.com/red0124/ssp.git
synced 2025-02-02 16:51:12 +01:00
replace tuple constructor with make_tuple in converter test
This commit is contained in:
parent
c28e777872
commit
86514bfbb6
@ -25,7 +25,7 @@ TEST_CASE("testing split") {
|
|||||||
ss::converter c;
|
ss::converter c;
|
||||||
for (const auto& [s, expected, delim] :
|
for (const auto& [s, expected, delim] :
|
||||||
// clang-format off
|
// clang-format off
|
||||||
{std::tuple{"a,b,c,d", std::vector{"a", "b", "c", "d"}, ","},
|
{std::make_tuple{"a,b,c,d", std::vector{"a", "b", "c", "d"}, ","},
|
||||||
{"", {}, " "},
|
{"", {}, " "},
|
||||||
{" x x x x | x ", {" x x x x ", " x "}, "|"},
|
{" x x x x | x ", {" x x x x ", " x "}, "|"},
|
||||||
{"a::b::c::d", {"a", "b", "c", "d"}, "::"},
|
{"a::b::c::d", {"a", "b", "c", "d"}, "::"},
|
||||||
|
Loading…
Reference in New Issue
Block a user