Skip to content

Commit 253a4a1

Browse files
committed
gen: less string vars
1 parent 0a4ba82 commit 253a4a1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/gen/gen.go

-3
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,6 @@ func sequenceNode(depth int) string {
365365

366366
func variableNode(depth int) string {
367367
e := node(depth - 1)
368-
if e == "foobar" {
369-
return "~!@"
370-
}
371368
if !strings.Contains(e, "foobar") {
372369
return "~!@"
373370
}

0 commit comments

Comments
 (0)