Skip to content

Commit

Permalink
chore: be explicit in tests about the expected and returned value
Browse files Browse the repository at this point in the history
  • Loading branch information
ereslibre committed Aug 23, 2023
1 parent f8c366f commit e1312ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/e2e.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ mod test {
child.kill().expect("Error stopping wws");

// Test
assert!(body.contains(expected_text));
assert!(
body.contains(expected_text),
"result \"{body}\" does not contain \"{expected_text}\""
);
}

#[test]
Expand Down

0 comments on commit e1312ac

Please sign in to comment.