From 090502faa7e6883103be5e452b89a366e4e1f9d8 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Tue, 7 Feb 2023 22:32:33 +0800 Subject: [PATCH] sandbox.go: fix comment Change-Id: Iacba4d6d75cac6b540bf855831873e35df47334f Reviewed-on: https://go-review.googlesource.com/c/playground/+/465999 Reviewed-by: Ian Lance Taylor Run-TryBot: Ian Lance Taylor Run-TryBot: shuang cui Reviewed-by: Dmitri Shuralyov Auto-Submit: Ian Lance Taylor TryBot-Bypass: Dmitri Shuralyov --- sandbox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sandbox.go b/sandbox.go index 4f3ed9d..c081e06 100644 --- a/sandbox.go +++ b/sandbox.go @@ -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.