Fix test that didn't compile.
This commit is contained in:
parent
cd40573345
commit
61b40a9000
@ -567,8 +567,15 @@ mod tests {
|
|||||||
#[test]
|
#[test]
|
||||||
fn every_improv_item_has_possession_data_for_output() {
|
fn every_improv_item_has_possession_data_for_output() {
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
improv_table().iter().filter_map(|cd| if possession_data().get(&cd.output).is_none() { Some(cd) } else None ).collect(),
|
improv_table()
|
||||||
Vec::new()
|
.iter()
|
||||||
|
.filter_map(|cd| if possession_data().get(&cd.output).is_none() {
|
||||||
|
Some(&cd.output)
|
||||||
|
} else {
|
||||||
|
None
|
||||||
|
})
|
||||||
|
.collect::<Vec<&'static PossessionType>>(),
|
||||||
|
Vec::<&'static PossessionType>::new()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user