fix(query): correct expected and actual capture names in query assertions error message
This commit is contained in:
parent
0220d9d93d
commit
50eaf5befd
1 changed files with 1 additions and 1 deletions
|
|
@ -237,8 +237,8 @@ pub fn assert_expected_captures(
|
|||
return Err(anyhow!(
|
||||
"Assertion failed: at {}, found {}, expected {}",
|
||||
found.start,
|
||||
found.name,
|
||||
assertion.expected_capture_name,
|
||||
found.name
|
||||
));
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue