Skip to content

Commit 4514837

Browse files
committed
again
1 parent ea3294c commit 4514837

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: src/grid/ntv2/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ mod tests {
207207
.contains(&"5458".to_string()));
208208

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

212212
Ok(())
213213
}

Diff for: src/op/parsed_parameters.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -535,12 +535,12 @@ mod tests {
535535

536536
// Booleans correctly parsed?
537537
assert!(
538-
p.boolean.get("flag").is_some(),
538+
p.boolean.contains("flag"),
539539
"`flag` not in registered booleans: {:#?}",
540540
p.boolean
541541
);
542542
assert!(
543-
p.boolean.get("galf").is_none(),
543+
!p.boolean.contains("galf"),
544544
"`galf` not in registered booleans: {:?}",
545545
p.boolean
546546
);

0 commit comments

Comments
 (0)