Skip to content

Commit ccef93f

Browse files
committedMar 15, 2022
jsondocck: better error for when @set matches multiple items
·
1.88.01.61.0
1 parent 4a57399 commit ccef93f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/tools/jsondocck/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ fn check_command(command: Command, cache: &mut Cache) -> Result<(), CkError> {
277277
assert_eq!(
278278
results.len(),
279279
1,
280-
"Didn't get 1 result for `{}`: got {:?}",
280+
"Expected 1 match for `{}` (because of @set): matched to {:?}",
281281
command.args[3],
282282
results
283283
);

0 commit comments

Comments
 (0)
Please sign in to comment.