Skip to content

Commit 11ff589

Browse files
authored
Fix test of PackedPattern repr (#5636)
Caused by clash of #5620 and #5601 <!-- Thank you for your pull request to ICU4X! Reminder: try to use [Conventional Comments](https://conventionalcomments.org/) to make comments clearer. Please see https://github.com/unicode-org/icu4x/blob/main/CONTRIBUTING.md for general information on contributing to ICU4X. -->
1 parent 367035a commit 11ff589

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/datetime/src/provider/packed_pattern.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -799,10 +799,10 @@ pub mod tests {
799799
assert_eq!(
800800
bincode_bytes.as_slice(),
801801
&[
802-
26, 11, 0, 0, 74, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 16, 0, 26, 0, 30, 0, 46, 0, 0,
803-
128, 32, 1, 0, 0, 47, 128, 64, 1, 0, 0, 47, 128, 16, 1, 2, 128, 114, 2, 0, 0, 58,
804-
128, 128, 2, 0, 128, 80, 1, 0, 128, 80, 1, 0, 0, 32, 128, 32, 3, 0, 0, 32, 128, 64,
805-
1, 0, 128, 64, 2, 0, 0, 46, 128, 32, 2, 0, 0, 46, 128, 16, 2
802+
26, 11, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 5, 0, 16, 0, 26, 0, 30, 0, 46, 0, 0, 128,
803+
32, 1, 0, 0, 47, 128, 64, 1, 0, 0, 47, 128, 16, 1, 2, 128, 114, 2, 0, 0, 58, 128,
804+
128, 2, 0, 128, 80, 1, 0, 128, 80, 1, 0, 0, 32, 128, 32, 3, 0, 0, 32, 128, 64, 1,
805+
0, 128, 64, 2, 0, 0, 46, 128, 32, 2, 0, 0, 46, 128, 16, 2
806806
][..]
807807
);
808808
let bincode_recovered = bincode::deserialize::<PackedPatternsV1>(&bincode_bytes).unwrap();

0 commit comments

Comments
 (0)