Skip to content

Commit 92f52e3

Browse files
committed
Update workspace fixture for virtual framework test
Signed-off-by: Marvin Beckers <[email protected]>
1 parent 1dad43d commit 92f52e3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pkg/virtual/framework/internalapis/fixtures/workspaces.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,13 @@ spec:
7979
items:
8080
type: string
8181
type: array
82+
x-kubernetes-list-type: atomic
8283
required:
8384
- key
8485
- operator
8586
type: object
8687
type: array
88+
x-kubernetes-list-type: atomic
8789
matchLabels:
8890
additionalProperties:
8991
type: string

pkg/virtual/framework/internalapis/import_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@ func TestImportInternalAPIs(t *testing.T) {
9191
require.NoError(t, err)
9292
actualContent, err := yaml.Marshal(schema)
9393
require.NoError(t, err)
94-
require.Empty(t, cmp.Diff(strings.Split(string(expectedContent), "\n"), strings.Split(string(actualContent), "\n")))
94+
require.Emptyf(t, cmp.Diff(strings.Split(string(expectedContent), "\n"), strings.Split(string(actualContent), "\n")), "%s was not identical to the expected content", schema.Name)
9595
}
9696
}

0 commit comments

Comments
 (0)