We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea3294c commit 4514837Copy full SHA for 4514837
src/grid/ntv2/mod.rs
@@ -207,7 +207,7 @@ mod tests {
207
.contains(&"5458".to_string()));
208
209
// Grids with no children do not appear in the lookup table
210
- assert!(ntv2_grid.lookup_table.get("5556").is_none());
+ assert!(!ntv2_grid.lookup_table.contains_key("5556"));
211
212
Ok(())
213
}
src/op/parsed_parameters.rs
@@ -535,12 +535,12 @@ mod tests {
535
536
// Booleans correctly parsed?
537
assert!(
538
- p.boolean.get("flag").is_some(),
+ p.boolean.contains("flag"),
539
"`flag` not in registered booleans: {:#?}",
540
p.boolean
541
);
542
543
- p.boolean.get("galf").is_none(),
+ !p.boolean.contains("galf"),
544
"`galf` not in registered booleans: {:?}",
545
546
0 commit comments