You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: resolver_test.go
    path of file: ./repos/trivy/pkg/iac/scanners/azure/resolver
    
    the code of the file until where you have to start completion: package resolver

import (
	"testing"
	"time"

	azure2 "gith
    
func Test_resolveFunc(t *testing.T) {

	tests := []struct {
		name     string
		expr     string
		expected string
	}{
		{
			name:     "simple format call",
			expr:     "format('{0}/{1}', 'myPostgreSQLServer', 'log_checkpoints')",
			expected: "myPostgreSQLServer/log_checkpoints",
		},
		{
			name:     "simple format call with numbers",
			expr:     "format('{0} + {1} = {2}', 1, 2, 3)",
			expected: "1 + 2 = 3",
		},
		{
			name:     "format with nested format",
			expr:     "format('{0} + {1} = {2}', format('{0}', 1), 2, 3)",
			expected: "1 + 2 = 3",
		},
		{
			name:     "format with multiple nested format",
			expr:     "format('{0} + {1} = {2}', format('{0}', 1), 2, format('{0}', 3))",
			expected: "1 + 2 = 3",
		},
		{
			name:     "format with nested base64",
			expr:     "format('the base64 of \"hello, world\" is {0}', base64('hello, world'))",
			expected: "the base64 of \"hello, world\" is aGVsbG8sIHdvcmxk",
		},
		{
			name:     "dateTimeAdd with add a day",
			expr:     "dateTimeAdd(utcNow('yyyy-MM-dd'), 'P1D', 'yyyy-MM-dd')",
			expected: time.Now().UTC().AddDate(0, 0, 1).Format("2006-01-02"),
		},
	}

	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			resolver := resolver{}

			resolvedValue, err := resolver.resolveExpressionString(tt.expr, types.NewTestMetadata())
			require.NoError(t, err)
			require.Equal(t, azure2.KindString, resolvedValue.Kind)

			require.Equal(t, tt.expected, resolvedValue.AsString())
		})
	}
}