Enhanced the demo test to cover comprehensive import scenarios: - Test 1: build.Default context with GOOS/GOARCH validation - Test 2: Standard library package import (fmt) - Test 3: Nested standard library package (os/exec) - Test 4: Internal package import (internal/cpu) - Test 5: Runtime package with Dir validation - Test 6: ImportDir with current directory - Test 7: IsLocalImport with multiple path formats - Test 8: Context GOPATH/GOROOT validation - Test 9: Import with AllowBinary flag - Test 10: Release tags validation All tests include proper result validation to ensure go/build patches work correctly across different use cases. 🤖 Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: luoliwoshang <luoliwoshang@users.noreply.github.com>
4.8 KiB
4.8 KiB