mirror of
https://github.com/goplus/llgo.git
synced 2025-12-24 13:08:13 +08:00
Test package names already include the .test suffix (e.g., pkg.test), so we should not append .test again. This fixes the issue where 'llgo test -c pkg' was outputting 'pkg.test.test' instead of 'pkg.test'. Changes: - Modified determineBaseNameAndDir() to use pkgName directly instead of pkgName + ".test" for test mode - Updated test cases to reflect that pkgName already includes .test suffix Fixes issue reported by @cpunion where llgo test -c pkg outputs pkg.test.test Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: cpunion <8459+cpunion@users.noreply.github.com>