Skip to content

Commit c2fbe70

Browse files
committed
test: Add missing enum entries to expected schemas
1 parent 3850a19 commit c2fbe70

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

kube-derive/tests/crd_complex_enum_tests.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,8 @@ fn untagged_enum() {
272272
"two": {
273273
"description": "Used in case the `two` field of type [`NormalEnum`] is present",
274274
"enum": [
275+
"C",
276+
"D",
275277
"A",
276278
"B"
277279
],
@@ -360,6 +362,8 @@ fn optional_untagged_enum() {
360362
"two": {
361363
"description": "Used in case the `two` field of type [`NormalEnum`] is present",
362364
"enum": [
365+
"C",
366+
"D",
363367
"A",
364368
"B"
365369
],
@@ -444,6 +448,8 @@ fn flattened_untagged_enum() {
444448
"two": {
445449
"description": "Used in case the `two` field of type [`NormalEnum`] is present",
446450
"enum": [
451+
"C",
452+
"D",
447453
"A",
448454
"B"
449455
],

0 commit comments

Comments
 (0)