github.com/golangCi/golangCi-lint@v1.10.1/test/testdata/misspell.go (about)

     1  // args: -Emisspell
     2  package testdata
     3  
     4  func Misspell() {
     5  	// comment with incorrect spelling: occured // ERROR "`occured` is a misspelling of `occurred`"
     6  }