Skip to content

Commit

Permalink
clean tests
Browse files Browse the repository at this point in the history
  • Loading branch information
qvalentin committed May 3, 2024
1 parent fea347f commit 4cd95a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 36 deletions.
1 change: 1 addition & 0 deletions internal/adapter/yamlls/diagnostics_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,5 @@ func TestYamllsDiagnosticsIntegrationWithSchema(t *testing.T) {
}

assert.Contains(t, diagnostic, expected)
assert.Len(t, diagnostic, 1)
}
36 changes: 0 additions & 36 deletions internal/lsp/yaml_ast_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,42 +107,6 @@ yaml: test

trimmedText: `
yaml: test
T1
`,
},
{
documentText: `
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "example.fullname" . }}
labels:
{{- include "example.labels" . | nindent 4 }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
selector:
matchLabels:
{{- include "example.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "example.labels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
`,

trimmedText: `
yaml: test
T1
Expand Down

0 comments on commit 4cd95a5

Please sign in to comment.