misspell
misspell copied to clipboard
False negative: adresář as adres a misspelling of address
Found while using gometalinter (which uses misspell).
The line of go code being read is:
strings.HasPrefix(msg, fmt.Sprintf("Nadřazený adresář %s neexistuje.", s.LocalPath())) ||
It's obviously not in english but it took part of a word rather than a full word.
sorry I missed this... investigating.
$ echo "Nadřazený adresář " | misspell
stdin:1:12: "adres" is a misspelling of "address"
Same happens with german umlauts:
$ echo "Nationalität" | misspell
stdin:1:0: "Nationalit" is a misspelling of "Nationalist"
So it seems something stops reading words on non-ascii chars…