rename Assertion.expected to expected_capture_name

This commit is contained in:
Patrick Thomson 2020-11-10 16:20:51 -05:00
parent 521297fdfe
commit 50bccdf5da
2 changed files with 7 additions and 5 deletions

View file

@ -100,7 +100,7 @@ pub fn test_highlight(
let mut actual_highlights = Vec::<&String>::new();
for Assertion {
position,
expected: expected_highlight,
expected_capture_name: expected_highlight,
} in &assertions
{
let mut passed = false;