huginn import: the verification test names the field path as the document spells it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-11-08 18:59:00 +01:00
commit fd19f13eb1

View file

@ -398,7 +398,7 @@ mod tests {
let Err(Stop::Trouble(trouble)) = verify(&wrong, &plan, &source) else { panic!("a difference is exit 5") };
assert_eq!(trouble.exit(), 5);
let said = trouble.to_string();
for named in ["c:ruling:b: title", "c:ruling:c: imported_from", "c:ruling:x: not in the plan"] {
for named in ["c:ruling:b: value.title", "c:ruling:c: imported_from", "c:ruling:x: not in the plan"] {
assert!(said.contains(named), "{named} in {said}");
}
assert!(!said.contains("c:ruling:a:"), "{said}");