From a51b48a0953a5f999ac7db96ba2481d40f67107e Mon Sep 17 00:00:00 2001 From: Ruslan Mstoi Date: Wed, 30 Aug 2023 17:20:58 +0300 Subject: [PATCH] tests: fix typo expected_events to latest_events In the documentation of function check_latest_events_exact use same events argument name as in the implementation Signed-off-by: Ruslan Mstoi --- tests/integration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration.rs b/tests/integration.rs index a369b3868..aaa3b9880 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -888,7 +888,7 @@ fn check_sequential_events_exact(expected_events: &[&MetaEvent], event_file: &st true } -// Return true if events from the input 'expected_events' are matched exactly +// Return true if events from the input 'latest_events' are matched exactly // with the most recent events from the 'event_file' fn check_latest_events_exact(latest_events: &[&MetaEvent], event_file: &str) -> bool { let json_events = parse_event_file(event_file);