Skip to content

Commit 730e0db

Browse files
committed
fix: update changed function name in tests
1 parent f13a751 commit 730e0db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kube-core/src/schema/transformsc.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ fn untagged_enum_with_empty_variant_before_one_of_hoisting() {
117117
serde_json::from_value(expected_converted_schema_object_value).expect("valid JSON");
118118

119119
let mut actual_converted_schema_object = original_schema_object.clone();
120-
hoist_any_of_subschemas_with_properties_merged(&mut actual_converted_schema_object);
120+
hoist_properties_for_any_of_subschemas(&mut actual_converted_schema_object);
121121

122122
assert_json_diff::assert_json_eq!(actual_converted_schema_object, expected_converted_schema_object);
123123
}
@@ -207,7 +207,7 @@ fn untagged_enum_with_duplicate_field_of_same_shape() {
207207
serde_json::from_value(expected_converted_schema_object_value).expect("valid JSON");
208208

209209
let mut actual_converted_schema_object = original_schema_object.clone();
210-
hoist_any_of_subschemas_with_properties_merged(&mut actual_converted_schema_object);
210+
hoist_properties_for_any_of_subschemas(&mut actual_converted_schema_object);
211211

212212
assert_json_diff::assert_json_eq!(actual_converted_schema_object, expected_converted_schema_object);
213213
}
@@ -282,7 +282,7 @@ fn invalid_untagged_enum_with_conflicting_variant_fields_before_one_of_hosting()
282282
serde_json::from_value(original_schema_object_value).expect("valid JSON");
283283

284284
let mut actual_converted_schema_object = original_schema_object.clone();
285-
hoist_any_of_subschemas_with_properties_merged(&mut actual_converted_schema_object);
285+
hoist_properties_for_any_of_subschemas(&mut actual_converted_schema_object);
286286
}
287287

288288
#[cfg(test)]

0 commit comments

Comments
 (0)