mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-26 19:23:36 +00:00
dragonball: Remove with-serde
feature assertion
Code inside `test_mac_addr_serialization_and_deserialization` test does not actually require this `with-serde` feature to test, removing the assertion here to enable this test. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
This commit is contained in:
@@ -146,7 +146,6 @@ mod tests {
|
|||||||
assert!(MacAddr::from_bytes(&src3[..]).is_err());
|
assert!(MacAddr::from_bytes(&src3[..]).is_err());
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "with-serde")]
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_mac_addr_serialization_and_deserialization() {
|
fn test_mac_addr_serialization_and_deserialization() {
|
||||||
let mac: MacAddr =
|
let mac: MacAddr =
|
||||||
|
Reference in New Issue
Block a user