mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: Fix clippy issue related to formatting
error: consider adding a `;` to the last statement for consistent formatting
--> cloud-hypervisor/tests/integration.rs:2516:9
|
2516 | _test_simple_launch(&guest)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `_test_simple_launch(&guest);`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
Signed-off-by: Rob Bradford <rbradford@meta.com>
This commit is contained in:
@@ -2513,7 +2513,7 @@ mod common_parallel {
|
||||
let disk_config = UbuntuDiskConfig::new(FOCAL_IMAGE_NAME.to_string());
|
||||
let mut guest = Guest::new(Box::new(disk_config));
|
||||
guest.kernel_path = Some(fw_path(FwType::RustHypervisorFirmware));
|
||||
_test_simple_launch(&guest)
|
||||
_test_simple_launch(&guest);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -2522,7 +2522,7 @@ mod common_parallel {
|
||||
let disk_config = UbuntuDiskConfig::new(FOCAL_IMAGE_NAME.to_string());
|
||||
let mut guest = Guest::new(Box::new(disk_config));
|
||||
guest.kernel_path = Some(fw_path(FwType::Ovmf));
|
||||
_test_simple_launch(&guest)
|
||||
_test_simple_launch(&guest);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -14787,7 +14787,7 @@ mod common_cvm {
|
||||
let guest =
|
||||
GuestFactory::new_confidential_guest_factory().create_guest(Box::new(disk_config));
|
||||
|
||||
_test_simple_launch(&guest)
|
||||
_test_simple_launch(&guest);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user