Skip to content

Commit 711a951

Browse files
committed
Update schemapatcher testdata for format changes
This updates the schemapatcher testdata for slight whitespace changes in the output of the yaml.v3 formatter.
1 parent 957d551 commit 711a951

File tree

3 files changed

+134
-2
lines changed

3 files changed

+134
-2
lines changed

pkg/schemapatcher/testdata/expected/legacy-example-crd.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ apiVersion: apiextensions.k8s.io/v1beta1
22
kind: CustomResourceDefinition
33
metadata:
44
name: example.legacy.schemapatcher.controller-tools.sigs.k8s.io
5-
65
# ensure that comments and annotations are left in place
76
annotations:
87
firstkey: firstval

pkg/schemapatcher/testdata/expected/legacy-unchanged-crd.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ apiVersion: apiextensions.k8s.io/v1beta1
22
kind: CustomResourceDefinition
33
metadata:
44
name: unchanged.legacy.schemapatcher.controller-tools.sigs.k8s.io
5-
65
# ensure that comments and annotations are left in place
76
# (note the space above this comment -- go-yaml isn't perfect preseving whitespace)
87
annotations:

0 commit comments

Comments
 (0)