Adapt service_flags_test to reflect changes

This commit is contained in:
Sofiane Baltaci 2019-12-21 03:36:47 +01:00
parent 43789b1d5a
commit 8617de51c8
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ mod tests {
let flag = ServiceFlags::WITNESS | ServiceFlags::BLOOM | ServiceFlags::NETWORK;
assert_eq!("ServiceFlags(NETWORK|BLOOM|WITNESS)", flag.to_string());
let flag = ServiceFlags::WITNESS | 0xf0.into();
assert_eq!("ServiceFlags(WITNESS|0xf0)", flag.to_string());
assert_eq!("ServiceFlags(WITNESS|COMPACT_FILTERS|0xb0)", flag.to_string());
}
}