fix: test failure

This commit is contained in:
kevin
2023-03-06 23:04:19 +08:00
committed by Kevin Wan
parent fb7664a764
commit a972f400c6
4 changed files with 77 additions and 21 deletions

View File

@@ -144,6 +144,10 @@ func TestParseSegments(t *testing.T) {
input: "",
expect: []string{},
},
{
input: " ",
expect: []string{},
},
{
input: ",",
expect: []string{""},