fix(cli): add missing runtime import to test file

go vet reports: cmd/molecule/molecule_test.go:209:11: undefined: runtime

runtime.GOEXE is used in mol() to find the Go binary for building the
test binary. The runtime package was referenced but not imported.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Molecule AI · sdk-dev 2026-04-22 19:02:08 +00:00
parent 1c9a207444
commit 6d1bcc007f

View File

@ -8,6 +8,7 @@ import (
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
"testing"
)