jsondocck: better error for when @set matches multiple items

This commit is contained in:
Nixon Enraght-Moony 2022-02-25 15:27:11 +00:00
parent 4a57399ab0
commit ccef93fb89

View File

@ -277,7 +277,7 @@ fn check_command(command: Command, cache: &mut Cache) -> Result<(), CkError> {
assert_eq!(
results.len(),
1,
"Didn't get 1 result for `{}`: got {:?}",
"Expected 1 match for `{}` (because of @set): matched to {:?}",
command.args[3],
results
);