blob: aba27b18a1ffe257a867c7d3d3a4adf23a612edf [file] [log] [blame]
// Copyright 2024 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package report
import "strings"
// Hard-coded list of words we've had problems with in the past.
var replacer = strings.NewReplacer(
"expropiation", "expropriation",
"Constallation", "Constellation",
)
func fixSpelling(s string) string {
return replacer.Replace(s)
}