mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-21 20:15:21 +00:00
vmm: config: Remove ineffectual code from test
Remove a change the invalid configuration that is not ever tested again. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
024675d1d8
commit
9c3a73706f
@ -2352,9 +2352,6 @@ mod tests {
|
||||
assert!(invalid_config.validate().is_err());
|
||||
|
||||
let mut still_valid_config = valid_config;
|
||||
invalid_config.fs = Some(vec![FsConfig {
|
||||
..Default::default()
|
||||
}]);
|
||||
still_valid_config.memory.shared = true;
|
||||
assert!(still_valid_config.validate().is_ok());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user