add test for leading multi-byte character to demo bug

This commit is contained in:
Matt 2021-11-06 00:54:21 -04:00
parent 0704d3064a
commit 2e5ad8d58b
1 changed files with 5 additions and 0 deletions

View File

@ -138,6 +138,11 @@ func TestInput_LcFirst(t *testing.T) {
arg: "",
want: "",
},
{
name: "multi-byte leading character",
arg: "ΔΔΔ",
want: "δΔΔ",
},
}
for _, tt := range tests {