forked from mirror/stringy
add test for leading multi-byte character to demo bug
This commit is contained in:
parent
0704d3064a
commit
2e5ad8d58b
|
@ -138,6 +138,11 @@ func TestInput_LcFirst(t *testing.T) {
|
|||
arg: "",
|
||||
want: "",
|
||||
},
|
||||
{
|
||||
name: "multi-byte leading character",
|
||||
arg: "ΔΔΔ",
|
||||
want: "δΔΔ",
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
|
Loading…
Reference in New Issue