Skip to content

Commit f2318d2

Browse files
Fix test_struct_semantic_fn snapshot test
Signed-off-by: Jonathan Woollett-Light <[email protected]> Co-authored-by: Babis Chalios <[email protected]>
1 parent 9a3fa7a commit f2318d2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/snapshot/src/lib.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -424,10 +424,9 @@ mod tests {
424424

425425
assert_eq!(
426426
restored_state_result.unwrap_err(),
427-
Error::Versionize(versionize::VersionizeError::Deserialize(
428-
"Io(Custom { kind: UnexpectedEof, error: \"failed to fill whole buffer\" })"
429-
.to_owned()
430-
))
427+
Error::Versionize(versionize::VersionizeError::Deserialize(String::from(
428+
"Io(Error { kind: UnexpectedEof, message: \"failed to fill whole buffer\" })"
429+
)))
431430
);
432431
}
433432

0 commit comments

Comments
 (0)