Skip to content

Commit

Permalink
Update tests/it/code_vsi.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jessica Black <[email protected]>
  • Loading branch information
csasarak and jssblck authored Jun 21, 2024
1 parent 7e44719 commit d1c77fb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/it/code_vsi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,10 @@ 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();

// Check that the insert wasn't a duplicate.
assert!(actual_serializations_for_kinds.insert(json));
assert!(
actual_serializations_for_kinds.insert(json),
"serialized value for kind {kind:?} is duplicate"
);
}

assert_eq!(
Expand Down

0 comments on commit d1c77fb

Please sign in to comment.