mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
@@ -88,7 +88,7 @@ func TestCollectInfo(t *testing.T) {
|
||||
{"Basic config map", "{{ $_hugo_config := `" + configStr + "` }}", tpl.ParseInfo{Config: tpl.ParseConfig{Version: 42}}},
|
||||
}
|
||||
|
||||
echo := func(in interface{}) interface{} {
|
||||
echo := func(in any) any {
|
||||
return in
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ func TestPartialReturn(t *testing.T) {
|
||||
`, true},
|
||||
}
|
||||
|
||||
echo := func(in interface{}) interface{} {
|
||||
echo := func(in any) any {
|
||||
return in
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user