mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-05-23 08:30:07 -03:00
doc: fix spelling
Co-Authored-By: bzz <bzz@users.noreply.github.com>
This commit is contained in:
parent
baefa18475
commit
3a6d42b39a
@ -290,9 +290,9 @@ func (s *GeneratorTestSuite) TestGenerationFiles() {
|
||||
}
|
||||
}
|
||||
|
||||
// normalizeSpaces returns a copy of str with whitespaces normalizeds.
|
||||
// normalizeSpaces returns a copy of str with whitespaces normalized.
|
||||
// We use this to compare generated source as gofmt format may change.
|
||||
// E.g for changines beteween Go 1.10 and 1.11 see
|
||||
// E.g for changes between Go 1.10 and 1.11 see
|
||||
// https://go-review.googlesource.com/c/go/+/122295/
|
||||
func normalizeSpaces(str string) string {
|
||||
return strings.Join(strings.Fields(str), " ")
|
||||
|
Loading…
x
Reference in New Issue
Block a user