Feature walks: Repair Part has its fixture, its gap an input and its body renamed with the rest

#8676 added FeatureKind::Repair without a fixture, so
feature_walk_tests::the_record_covers_every_variant failed. The fixture sets
every field (body, gap, patch_holes); the records, written with
FEATURE_WALK_BLESS=1, show its one input (Gap, a length) and that copying with
bodies renamed rewrites its body.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jyviko
2026-10-29 02:07:56 -04:00
committed by Irakli Kourtis
parent a0eaceab5e
commit 60f33f6fc6
4 changed files with 8 additions and 0 deletions
@@ -231,6 +231,7 @@ pub(super) fn fixtures() -> Vec<(&'static str, Value)> {
("import", json!({"type": "import", "file": "a.step", "step": ""})),
("mesh_convert", json!({"type": "mesh_convert", "body": "B", "tolerance": "mesh_convert.tolerance"})),
("mesh_import", json!({"type": "mesh_import", "file": "a.stl", "meshes": []})),
("repair", json!({"type": "repair", "body": "B", "gap": "repair.gap", "patch_holes": true})),
]
}
@@ -428,3 +428,7 @@ mesh_convert
Tolerance = mesh_convert.tolerance (Length)
expressions: mesh_convert.tolerance
mesh_import
repair
inputs:
Gap = repair.gap (Length)
expressions: repair.gap
@@ -207,3 +207,4 @@ move
import
mesh_convert
mesh_import
repair
@@ -238,3 +238,5 @@ import
mesh_convert
remap_bodies: body
mesh_import
repair
remap_bodies: body