difftreelog
fix tests after friendly errors feature
in: master
3 files changed
crates/jrsonnet-evaluator/tests/golden/missing_binding.jsonnetdiffbeforeafterboth1a1sta22crates/jrsonnet-evaluator/tests/golden/missing_binding.jsonnet.goldendiffbeforeafterboth1runtime error: variable is not defined: a1variable is not defined: sta2There is variable(s) with similar names present: std, test2There is variable with similar name present: std3 missing_binding.jsonnet:1:1-3: variable <a> access3 missing_binding.jsonnet:1:1-5: variable <sta> accesscrates/jrsonnet-macros/src/lib.rsdiffbeforeafterboth529 }529 }530 } else {530 } else {531 quote! {531 quote! {532 <#ty>::from_untyped(obj.get(s.clone(), #name.into())?.ok_or_else(|| Error::NoSuchField(#name.into()))?, s.clone())?532 <#ty>::from_untyped(obj.get(s.clone(), #name.into())?.ok_or_else(|| Error::NoSuchField(#name.into(), vec![]))?, s.clone())?533 }533 }534 };534 };535535