lang: interpolate: Rename interpolate functions to please linters

This commit is contained in:
James Shubin
2023-09-19 14:19:50 -04:00
parent 089267837d
commit 1ec837089e
5 changed files with 17 additions and 17 deletions

View File

@@ -217,7 +217,7 @@ func TestInterpolate0(t *testing.T) {
data := &interfaces.Data{
// TODO: add missing fields here if/when needed
StrInterpolater: InterpolateStr,
StrInterpolater: StrInterpolate,
Debug: testing.Verbose(), // set via the -test.v flag to `go test`
Logf: func(format string, v ...interface{}) {
@@ -472,7 +472,7 @@ func TestInterpolateBasicStmt(t *testing.T) {
data := &interfaces.Data{
// TODO: add missing fields here if/when needed
StrInterpolater: InterpolateStr,
StrInterpolater: StrInterpolate,
Debug: testing.Verbose(), // set via the -test.v flag to `go test`
Logf: func(format string, v ...interface{}) {
@@ -797,7 +797,7 @@ func TestInterpolateBasicExpr(t *testing.T) {
data := &interfaces.Data{
// TODO: add missing fields here if/when needed
StrInterpolater: InterpolateStr,
StrInterpolater: StrInterpolate,
Debug: testing.Verbose(), // set via the -test.v flag to `go test`
Logf: func(format string, v ...interface{}) {