Skip to content

Commit ccef93f

Browse files
committed
jsondocck: better error for when @set matches multiple items
1 parent 4a57399 commit ccef93f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/tools/jsondocck/src/main.rs

+1-1
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)