mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
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 <ruslan.mstoi@intel.com>
This commit is contained in:
parent
d1ee623f0e
commit
a51b48a095
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user