| Test go generate with no changes in mechanical checks | |
| -- go.mod -- | |
| module sketch.dev | |
| go 1.23 | |
| -- .commit -- | |
| Initial commit | |
| -- main.go -- | |
| package main | |
| //go:generate echo "No-op generation" | |
| func main() { | |
| println("Hello, world!") | |
| } | |
| -- .commit -- | |
| Commit with no-op go generate directive | |
| -- .run_test -- | |
| OK |