- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestKeywordsAndFuncs (0.17 sec)
-
src/text/template/parse/parse_test.go
} if result := tmpl.Root.String(); result != test.result { t.Errorf("%s=(%q): got\n\t%v\nexpected\n\t%v", test.name, test.input, result, test.result) } }) } } func TestKeywordsAndFuncs(t *testing.T) { // Check collisions between functions and new keywords like 'break'. When a // break function is provided, the parser should treat 'break' as a function, // not a keyword. textFormat = "%q"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 24K bytes - Viewed (0)