diff options
| author | Nixon Enraght-Moony <nixon.emoony@gmail.com> | 2022-02-25 15:27:11 +0000 |
|---|---|---|
| committer | Nixon Enraght-Moony <nixon.emoony@gmail.com> | 2022-03-15 18:23:07 +0000 |
| commit | ccef93fb891ac2f3426d9f4a733841db256919a9 (patch) | |
| tree | f41064bf160099c49efde95b84a7f0f9c66fdeaf | |
| parent | 4a57399ab0b41b94afb5ef8815f2863ba2507d65 (diff) | |
| download | rust-ccef93fb891ac2f3426d9f4a733841db256919a9.tar.gz rust-ccef93fb891ac2f3426d9f4a733841db256919a9.zip | |
jsondocck: better error for when @set matches multiple items
| -rw-r--r-- | src/tools/jsondocck/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/jsondocck/src/main.rs b/src/tools/jsondocck/src/main.rs index d0f476955e1..c5358e2f53a 100644 --- a/src/tools/jsondocck/src/main.rs +++ b/src/tools/jsondocck/src/main.rs @@ -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 ); |
