From 039a5b6884aa65f34cecbfcd127861a703a048da Mon Sep 17 00:00:00 2001 From: yincong Date: Sun, 22 Sep 2024 16:00:36 +0800 Subject: [PATCH] change unit test name --- src/text/template/parse/lex_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text/template/parse/lex_test.go b/src/text/template/parse/lex_test.go index c3dff12e98..20f9698fa4 100644 --- a/src/text/template/parse/lex_test.go +++ b/src/text/template/parse/lex_test.go @@ -545,7 +545,7 @@ var lexPosTests = []lexTest{ {itemRightDelim, 11, "}}", 2}, {itemEOF, 13, "", 2}, }}, - {"correctline", "{{/*\n*/}}\n{{undefinedFunction \"test\"}}", []item{ + {"longcomment", "{{/*\n*/}}\n{{undefinedFunction \"test\"}}", []item{ {itemComment, 2, "/*\n*/", 1}, {itemText, 9, "\n", 2}, {itemLeftDelim, 10, "{{", 3},