1
0
mirror of https://github.com/golang/go synced 2024-11-14 22:50:27 -07:00

change unit test name

This commit is contained in:
yincong 2024-09-22 16:00:36 +08:00
parent 1bbd73bfa9
commit 039a5b6884
No known key found for this signature in database
GPG Key ID: D37F4B83EDFE5B0F

View File

@ -545,7 +545,7 @@ var lexPosTests = []lexTest{
{itemRightDelim, 11, "}}", 2}, {itemRightDelim, 11, "}}", 2},
{itemEOF, 13, "", 2}, {itemEOF, 13, "", 2},
}}, }},
{"correctline", "{{/*\n*/}}\n{{undefinedFunction \"test\"}}", []item{ {"longcomment", "{{/*\n*/}}\n{{undefinedFunction \"test\"}}", []item{
{itemComment, 2, "/*\n*/", 1}, {itemComment, 2, "/*\n*/", 1},
{itemText, 9, "\n", 2}, {itemText, 9, "\n", 2},
{itemLeftDelim, 10, "{{", 3}, {itemLeftDelim, 10, "{{", 3},