Skip to content

Commit

Permalink
sandbox.go: fix comment
Browse files Browse the repository at this point in the history
Change-Id: Iacba4d6d75cac6b540bf855831873e35df47334f
Reviewed-on: https://go-review.googlesource.com/c/playground/+/465999
Reviewed-by: Ian Lance Taylor <[email protected]>
Run-TryBot: Ian Lance Taylor <[email protected]>
Run-TryBot: shuang cui <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
Auto-Submit: Ian Lance Taylor <[email protected]>
TryBot-Bypass: Dmitri Shuralyov <[email protected]>
  • Loading branch information
cuishuang authored and gopherbot committed Oct 13, 2023
1 parent 27dbd02 commit 090502f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sandbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func isTest(name, prefix string) bool {
return !unicode.IsLower(r)
}

// getTestProg returns source code that executes all valid tests and examples in src.
// isTestProg returns source code that executes all valid tests and examples in src.
// If the main function is present or there are no tests or examples, it returns nil.
// getTestProg emulates the "go test" command as closely as possible.
// Benchmarks are not supported because of sandboxing.
Expand Down

0 comments on commit 090502f

Please sign in to comment.