Skip to content

Commit 6c6e8dd

Browse files
committed
fix(iota-types): Fix expected bytes in test_object_digest_and_serialized_format
1 parent 1454ca2 commit 6c6e8dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/iota-types/src/object.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,11 +1222,11 @@ fn test_object_digest_and_serialized_format() {
12221222
let bytes = bcs::to_bytes(&o).unwrap();
12231223

12241224
assert_eq!(bytes, [
1225-
0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1226-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 123, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1227-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0,
1225+
0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1226+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 123, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1227+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0,
12281228
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1229-
0, 0, 0, 0, 0, 0
1229+
0, 0, 0, 0, 0
12301230
]);
12311231

12321232
let objref = format!("{:?}", o.compute_object_reference());

0 commit comments

Comments
 (0)