Closed 42atomys closed 3 weeks ago
Yep, dual byte like été into Été cause with \x00 byte offset
All modified and coverable lines are covered by tests :white_check_mark:
Files | Coverage Δ | |
---|---|---|
registry/strings/functions.go | 100.0% <100.0%> (ø) |
|
registry/strings/helpers.go | 100.0% <100.0%> (ø) |
Description
capitalize
anduncapitalize
have untested statement with latin and unicode rune. Decode rune stored in multiple byte correctly.Checklist
Additional Information
Source of the report : https://github.com/go-sprout/sprout/pull/62#discussion_r1727405631 reported by @ccoVeille