1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-03-25 08:02:08 +00:00
hugo/tpl/internal
Ian Lance Taylor a8cb1b07b4 tpl: Fix test to pass with gccgo
When run under gccgo, the test looks for the name that gccgo gives to
a thunk method.  This name is not normally visible, but can be seen
when using reflect.FuncForPC as this code does.  That name changed in
https://golang.org/cl/89555.  Change the test to work with both the
old name "$thunk0" and the new name "thunk0".

Fixes 
2018-11-09 08:54:08 +01:00
..
templatefuncRegistry_test.go tpl: Fix test to pass with gccgo 2018-11-09 08:54:08 +01:00
templatefuncsRegistry.go