Skip to content

Commit

Permalink
More bug test fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
csasarak committed Jun 21, 2024
1 parent 4d765ab commit 7e44719
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/it/code_vsi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ fn serde_serialization_matches_external_contract() {
let json_value = serde_json::to_value(kind).expect("serde serialization");
let json = json_value.as_str().expect("get string").to_string();

actual_serializations_for_kinds.insert(json);
// Check that the insert wasn't a duplicate.
assert!(actual_serializations_for_kinds.insert(json));
}

assert_eq!(
Expand Down

0 comments on commit 7e44719

Please sign in to comment.