Skip to content

Commit

Permalink
Update tests/test_edit.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian authored Jun 4, 2021
1 parent 730d175 commit 9f3fcf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_edit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ fn test_insert_into_inline_table() {
).running(|root| {
{
let a = root.entry("a");
let mut a = as_inline_table!(a);
let a = as_inline_table!(a);
assert_eq!(a.len(), 2);
assert!(a.contains_key("a") && a.get("c").is_some() && a.get_mut("c").is_some());
a.get_or_insert("b", 42);
Expand Down

0 comments on commit 9f3fcf4

Please sign in to comment.