diff --git a/internal/handler/completion_main_test.go b/internal/handler/completion_main_test.go index 449350c..21bd6ef 100644 --- a/internal/handler/completion_main_test.go +++ b/internal/handler/completion_main_test.go @@ -165,6 +165,7 @@ func TestCompletionMainSingleLines(t *testing.T) { err error }{ {"Test completion on {{.Bad.^}}", []string{}, []string{}, errors.New("[Bad ] is no valid template context for helm")}, + {"Test completion on {{ .Values.^ingress.hosts }}", []string{"ingress"}, []string{"hosts"}, nil}, {"Test completion on {{ .Bad.^ }}", []string{}, []string{}, errors.New("[Bad ] is no valid template context for helm")}, {"Test completion on {{ n^ }}", []string{"not"}, []string{}, nil}, {"Test completion on {{ .Values.^ }}", []string{"replicaCount"}, []string{}, nil},