This test checks that formatting includes generated files too (reversing https://go.dev/cl/365295 to address issue #49555). See https://github.com/golang/go/issues/73959. -- flags -- -ignore_extra_diags -- go.mod -- module example.com go 1.21 -- a/a.go -- // Code generated by me. DO NOT EDIT. package a; import "fmt"; func main() { fmt.Println("hello") } //@format(out) -- @out -- // Code generated by me. DO NOT EDIT. package a import "fmt" func main() { fmt.Println("hello") } //@format(out)