Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
busstoptaktik committed May 3, 2024
1 parent ea3294c commit 4514837
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/grid/ntv2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ mod tests {
.contains(&"5458".to_string()));

// Grids with no children do not appear in the lookup table
assert!(ntv2_grid.lookup_table.get("5556").is_none());
assert!(!ntv2_grid.lookup_table.contains_key("5556"));

Ok(())
}
Expand Down
4 changes: 2 additions & 2 deletions src/op/parsed_parameters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -535,12 +535,12 @@ mod tests {

// Booleans correctly parsed?
assert!(
p.boolean.get("flag").is_some(),
p.boolean.contains("flag"),
"`flag` not in registered booleans: {:#?}",
p.boolean
);
assert!(
p.boolean.get("galf").is_none(),
!p.boolean.contains("galf"),
"`galf` not in registered booleans: {:?}",
p.boolean
);
Expand Down

0 comments on commit 4514837

Please sign in to comment.