diff --git a/rbx_binary/CHANGELOG.md b/rbx_binary/CHANGELOG.md index f0c7de05..15e76ec5 100644 --- a/rbx_binary/CHANGELOG.md +++ b/rbx_binary/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +* Within `PRNT` chunks, parent-child links are now generated depth-first so that parents always come after their children in the chunk. ([#411]) + +[#411]: https://github.com/rojo-rbx/rbx-dom/pull/411 + ## 0.7.4 (2024-01-16) * Add the ability to specify a `ReflectionDatabase` to use for serializing and deserializing. This takes the form of `Deserializer::reflection_database` and `Serializer::reflection_database`. ([#375]) diff --git a/rbx_binary/src/serializer/state.rs b/rbx_binary/src/serializer/state.rs index 5a70dd63..2ccd7910 100644 --- a/rbx_binary/src/serializer/state.rs +++ b/rbx_binary/src/serializer/state.rs @@ -1249,9 +1249,10 @@ impl<'dom, 'db, W: Write> SerializerState<'dom, 'db, W> { let object_referents = self .relevant_instances .iter() + .rev() .map(|id| self.id_to_referent[id]); - let parent_referents = self.relevant_instances.iter().map(|id| { + let parent_referents = self.relevant_instances.iter().rev().map(|id| { let instance = self.dom.get_by_ref(*id).unwrap(); // If there's no parent set OR our parent is not one of the diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__default_shared_string.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__default_shared_string.snap index 8f514fd5..37723b5a 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__default_shared_string.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__default_shared_string.snap @@ -36,9 +36,9 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - 1 - -1 + - - 0 + - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__logical_properties_basepart_size.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__logical_properties_basepart_size.snap index 9b0d523a..5b8b3b56 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__logical_properties_basepart_size.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__logical_properties_basepart_size.snap @@ -38,11 +38,11 @@ chunks: - Prnt: version: 0 links: - - - 0 + - - 2 - -1 - - 1 - -1 - - - 2 + - - 0 - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__migrated_properties.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__migrated_properties.snap index 48bcb083..e8978e62 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__migrated_properties.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__migrated_properties.snap @@ -98,21 +98,21 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - - 1 + - - 7 - 0 - - - 2 + - - 6 - 0 - - - 3 + - - 5 - 0 - - 4 - 0 - - - 5 + - - 3 - 0 - - - 6 + - - 2 - 0 - - - 7 + - - 1 - 0 + - - 0 + - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__part_color.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__part_color.snap index 78250b97..7c8539a9 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__part_color.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__part_color.snap @@ -43,12 +43,13 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - - 1 + - - 3 - -1 - - 2 - -1 - - - 3 + - - 1 + - -1 + - - 0 - -1 - End + diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__partially_present.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__partially_present.snap index 1dd6b545..8821bafe 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__partially_present.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__partially_present.snap @@ -29,8 +29,9 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - 1 - -1 + - - 0 + - -1 - End + diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__axes__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__axes__encoded.snap index e4d00375..1cb1d549 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__axes__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__axes__encoded.snap @@ -146,21 +146,21 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - - 1 + - - 7 - -1 - - - 2 + - - 6 - -1 - - - 3 + - - 5 - -1 - - 4 - -1 - - - 5 + - - 3 - -1 - - - 6 + - - 2 - -1 - - - 7 + - - 1 + - -1 + - - 0 - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__baseplate-566__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__baseplate-566__encoded.snap index 5fd67359..ca051798 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__baseplate-566__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__baseplate-566__encoded.snap @@ -1,5 +1,6 @@ --- source: rbx_binary/src/tests/util.rs +assertion_line: 46 expression: text_roundtrip --- num_types: 60 @@ -4267,125 +4268,125 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - - 1 + - - 59 + - 49 + - - 58 + - 47 + - - 57 + - 39 + - - 56 + - 39 + - - 55 + - 39 + - - 54 + - 39 + - - 53 + - 39 + - - 52 + - 21 + - - 51 + - 13 + - - 50 + - 13 + - - 49 + - 0 + - - 48 + - 0 + - - 47 + - 0 + - - 46 + - 0 + - - 45 - -1 - - - 2 + - - 44 - -1 - - - 3 + - - 43 - -1 - - - 4 + - - 42 - -1 - - - 5 + - - 41 - -1 - - - 6 + - - 40 - -1 - - - 7 + - - 39 - -1 - - - 8 + - - 38 - -1 - - - 9 + - - 37 - -1 - - - 10 + - - 36 - -1 - - - 11 + - - 35 - -1 - - - 12 + - - 34 - -1 - - - 13 + - - 33 - -1 - - - 14 + - - 32 - -1 - - - 15 + - - 31 - -1 - - - 16 + - - 30 - -1 - - - 17 + - - 29 - -1 - - - 18 + - - 28 - -1 - - - 19 + - - 27 - -1 - - - 20 + - - 26 - -1 - - - 21 + - - 25 - -1 - - - 22 + - - 24 - -1 - - 23 - -1 - - - 24 + - - 22 - -1 - - - 25 + - - 21 - -1 - - - 26 + - - 20 - -1 - - - 27 + - - 19 - -1 - - - 28 + - - 18 - -1 - - - 29 + - - 17 - -1 - - - 30 + - - 16 - -1 - - - 31 + - - 15 - -1 - - - 32 + - - 14 - -1 - - - 33 + - - 13 - -1 - - - 34 + - - 12 - -1 - - - 35 + - - 11 - -1 - - - 36 + - - 10 - -1 - - - 37 + - - 9 - -1 - - - 38 + - - 8 - -1 - - - 39 + - - 7 - -1 - - - 40 + - - 6 - -1 - - - 41 + - - 5 - -1 - - - 42 + - - 4 - -1 - - - 43 + - - 3 - -1 - - - 44 + - - 2 - -1 - - - 45 + - - 1 + - -1 + - - 0 - -1 - - - 46 - - 0 - - - 47 - - 0 - - - 48 - - 0 - - - 49 - - 0 - - - 50 - - 13 - - - 51 - - 13 - - - 52 - - 21 - - - 53 - - 39 - - - 54 - - 39 - - - 55 - - 39 - - - 56 - - 39 - - - 57 - - 39 - - - 58 - - 47 - - - 59 - - 49 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__cframe-case-mixture__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__cframe-case-mixture__encoded.snap index 20082502..13db3a20 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__cframe-case-mixture__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__cframe-case-mixture__encoded.snap @@ -76,9 +76,9 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - 1 - -1 + - - 0 + - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__cframe-special-cases__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__cframe-special-cases__encoded.snap index af12fc4c..6f76e915 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__cframe-special-cases__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__cframe-special-cases__encoded.snap @@ -494,53 +494,53 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - - 1 + - - 23 - -1 - - - 2 + - - 22 - -1 - - - 3 + - - 21 - -1 - - - 4 + - - 20 - -1 - - - 5 + - - 19 - -1 - - - 6 + - - 18 - -1 - - - 7 + - - 17 - -1 - - - 8 + - - 16 - -1 - - - 9 + - - 15 - -1 - - - 10 + - - 14 - -1 - - - 11 + - - 13 - -1 - - 12 - -1 - - - 13 + - - 11 - -1 - - - 14 + - - 10 - -1 - - - 15 + - - 9 - -1 - - - 16 + - - 8 - -1 - - - 17 + - - 7 - -1 - - - 18 + - - 6 - -1 - - - 19 + - - 5 - -1 - - - 20 + - - 4 - -1 - - - 21 + - - 3 - -1 - - - 22 + - - 2 - -1 - - - 23 + - - 1 + - -1 + - - 0 - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__faces__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__faces__encoded.snap index 37675dd8..7fac2817 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__faces__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__faces__encoded.snap @@ -1,5 +1,6 @@ --- source: rbx_binary/src/tests/util.rs +assertion_line: 46 expression: text_roundtrip --- num_types: 1 @@ -955,133 +956,133 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - - 1 + - - 63 - -1 - - - 2 + - - 62 - -1 - - - 3 + - - 61 - -1 - - - 4 + - - 60 - -1 - - - 5 + - - 59 - -1 - - - 6 + - - 58 - -1 - - - 7 + - - 57 - -1 - - - 8 + - - 56 - -1 - - - 9 + - - 55 - -1 - - - 10 + - - 54 - -1 - - - 11 + - - 53 - -1 - - - 12 + - - 52 - -1 - - - 13 + - - 51 - -1 - - - 14 + - - 50 - -1 - - - 15 + - - 49 - -1 - - - 16 + - - 48 - -1 - - - 17 + - - 47 - -1 - - - 18 + - - 46 - -1 - - - 19 + - - 45 - -1 - - - 20 + - - 44 - -1 - - - 21 + - - 43 - -1 - - - 22 + - - 42 - -1 - - - 23 + - - 41 - -1 - - - 24 + - - 40 - -1 - - - 25 + - - 39 - -1 - - - 26 + - - 38 - -1 - - - 27 + - - 37 - -1 - - - 28 + - - 36 - -1 - - - 29 + - - 35 - -1 - - - 30 + - - 34 - -1 - - - 31 + - - 33 - -1 - - 32 - -1 - - - 33 + - - 31 - -1 - - - 34 + - - 30 - -1 - - - 35 + - - 29 - -1 - - - 36 + - - 28 - -1 - - - 37 + - - 27 - -1 - - - 38 + - - 26 - -1 - - - 39 + - - 25 - -1 - - - 40 + - - 24 - -1 - - - 41 + - - 23 - -1 - - - 42 + - - 22 - -1 - - - 43 + - - 21 - -1 - - - 44 + - - 20 - -1 - - - 45 + - - 19 - -1 - - - 46 + - - 18 - -1 - - - 47 + - - 17 - -1 - - - 48 + - - 16 - -1 - - - 49 + - - 15 - -1 - - - 50 + - - 14 - -1 - - - 51 + - - 13 - -1 - - - 52 + - - 12 - -1 - - - 53 + - - 11 - -1 - - - 54 + - - 10 - -1 - - - 55 + - - 9 - -1 - - - 56 + - - 8 - -1 - - - 57 + - - 7 - -1 - - - 58 + - - 6 - -1 - - - 59 + - - 5 - -1 - - - 60 + - - 4 - -1 - - - 61 + - - 3 - -1 - - - 62 + - - 2 - -1 - - - 63 + - - 1 + - -1 + - - 0 - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__gui-inset-and-font-migration__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__gui-inset-and-font-migration__encoded.snap index 613c1735..532824f6 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__gui-inset-and-font-migration__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__gui-inset-and-font-migration__encoded.snap @@ -1205,17 +1205,17 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - - 1 - - 0 - - - 2 - - 0 - - - 3 + - - 5 - 2 - - 4 - 2 - - - 5 + - - 3 - 2 + - - 2 + - 0 + - - 1 + - 0 + - - 0 + - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__number-values-with-security-capabilities__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__number-values-with-security-capabilities__encoded.snap index 935e5a2f..3b728326 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__number-values-with-security-capabilities__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__number-values-with-security-capabilities__encoded.snap @@ -64,9 +64,9 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - 1 - -1 + - - 0 + - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__optionalcoordinateframe-models__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__optionalcoordinateframe-models__encoded.snap index 72461adb..c2787756 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__optionalcoordinateframe-models__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__optionalcoordinateframe-models__encoded.snap @@ -227,11 +227,11 @@ chunks: - Prnt: version: 0 links: - - - 0 + - - 2 - -1 - - 1 - -1 - - - 2 + - - 0 - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__package-link__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__package-link__encoded.snap index b9c4ae23..2189dd39 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__package-link__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__package-link__encoded.snap @@ -148,9 +148,9 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - 1 - 0 + - - 0 + - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__ref-adjacent__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__ref-adjacent__encoded.snap index 9165beb7..c5cc08b6 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__ref-adjacent__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__ref-adjacent__encoded.snap @@ -1,6 +1,5 @@ --- source: rbx_binary/src/tests/util.rs -assertion_line: 46 expression: text_roundtrip --- num_types: 2 @@ -63,9 +62,9 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - 1 - -1 + - - 0 + - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__ref-child__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__ref-child__encoded.snap index 5466f809..391b4904 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__ref-child__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__ref-child__encoded.snap @@ -1,6 +1,5 @@ --- source: rbx_binary/src/tests/util.rs -assertion_line: 46 expression: text_roundtrip --- num_types: 2 @@ -63,9 +62,9 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - 1 - 0 + - - 0 + - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__ref-parent__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__ref-parent__encoded.snap index 07855466..db3f55e9 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__ref-parent__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__ref-parent__encoded.snap @@ -1,6 +1,5 @@ --- source: rbx_binary/src/tests/util.rs -assertion_line: 46 expression: text_roundtrip --- num_types: 2 @@ -63,9 +62,9 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - 1 - 0 + - - 0 + - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__sharedstring__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__sharedstring__encoded.snap index 44058237..dd14638a 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__sharedstring__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__sharedstring__encoded.snap @@ -1229,23 +1229,23 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - - 1 - - 0 - - - 2 + - - 8 - 0 - - - 3 + - - 7 - 0 - - - 4 + - - 6 - 0 - - 5 - 0 - - - 6 + - - 4 - 0 - - - 7 + - - 3 - 0 - - - 8 + - - 2 + - 0 + - - 1 - 0 + - - 0 + - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-beams__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-beams__encoded.snap index a886a9c2..b13c5f97 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-beams__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-beams__encoded.snap @@ -1,5 +1,6 @@ --- source: rbx_binary/src/tests/util.rs +assertion_line: 46 expression: text_roundtrip --- num_types: 1 @@ -250,11 +251,11 @@ chunks: - Prnt: version: 0 links: - - - 0 + - - 2 - -1 - - 1 - -1 - - - 2 + - - 0 - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-brickcolorvalues__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-brickcolorvalues__encoded.snap index 0da66bd0..cb6434cb 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-brickcolorvalues__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-brickcolorvalues__encoded.snap @@ -49,11 +49,11 @@ chunks: - Prnt: version: 0 links: - - - 0 + - - 2 - -1 - - 1 - -1 - - - 2 + - - 0 - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-color3values__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-color3values__encoded.snap index cab9e3d2..f4a9b8a4 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-color3values__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-color3values__encoded.snap @@ -1,5 +1,6 @@ --- source: rbx_binary/src/tests/util.rs +assertion_line: 46 expression: text_roundtrip --- num_types: 1 @@ -54,11 +55,11 @@ chunks: - Prnt: version: 0 links: - - - 0 + - - 2 - -1 - - 1 - -1 - - - 2 + - - 0 - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-intvalues__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-intvalues__encoded.snap index d9a5b42a..306edf6f 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-intvalues__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-intvalues__encoded.snap @@ -49,11 +49,11 @@ chunks: - Prnt: version: 0 links: - - - 0 + - - 2 - -1 - - 1 - -1 - - - 2 + - - 0 - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-nested-folders__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-nested-folders__encoded.snap index 56df2c71..a93d1b0e 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-nested-folders__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-nested-folders__encoded.snap @@ -41,11 +41,11 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - - 1 - - 0 - - 2 - 1 + - - 1 + - 0 + - - 0 + - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-screengui__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-screengui__encoded.snap index 35699dd9..5abd2523 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-screengui__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-screengui__encoded.snap @@ -1,5 +1,6 @@ --- source: rbx_binary/src/tests/util.rs +assertion_line: 46 expression: text_roundtrip --- num_types: 1 @@ -96,11 +97,11 @@ chunks: - Prnt: version: 0 links: - - - 0 + - - 2 - -1 - - 1 - -1 - - - 2 + - - 0 - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-uigradients__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-uigradients__encoded.snap index f9af74d9..21e23e59 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-uigradients__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-uigradients__encoded.snap @@ -1,5 +1,6 @@ --- source: rbx_binary/src/tests/util.rs +assertion_line: 46 expression: text_roundtrip --- num_types: 1 @@ -151,11 +152,11 @@ chunks: - Prnt: version: 0 links: - - - 0 + - - 2 - -1 - - 1 - -1 - - - 2 + - - 0 - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-uigridlayouts__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-uigridlayouts__encoded.snap index 1d7a9d05..cd633c3c 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-uigridlayouts__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-uigridlayouts__encoded.snap @@ -1,5 +1,6 @@ --- source: rbx_binary/src/tests/util.rs +assertion_line: 46 expression: text_roundtrip --- num_types: 1 @@ -122,11 +123,11 @@ chunks: - Prnt: version: 0 links: - - - 0 + - - 2 - -1 - - 1 - -1 - - - 2 + - - 0 - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-unique-frames__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-unique-frames__encoded.snap index 237c2e81..5d0fe3e8 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-unique-frames__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-unique-frames__encoded.snap @@ -1,5 +1,6 @@ --- source: rbx_binary/src/tests/util.rs +assertion_line: 46 expression: text_roundtrip --- num_types: 1 @@ -273,11 +274,11 @@ chunks: - Prnt: version: 0 links: - - - 0 + - - 2 - -1 - - 1 - -1 - - - 2 + - - 0 - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-unique-parts__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-unique-parts__encoded.snap index 7c3cd8c6..743f6808 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-unique-parts__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-unique-parts__encoded.snap @@ -1,5 +1,6 @@ --- source: rbx_binary/src/tests/util.rs +assertion_line: 46 expression: text_roundtrip --- num_types: 1 @@ -455,11 +456,11 @@ chunks: - Prnt: version: 0 links: - - - 0 + - - 2 - -1 - - 1 - -1 - - - 2 + - - 0 - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-vector3values__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-vector3values__encoded.snap index b43b9445..1a450eb9 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-vector3values__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__three-vector3values__encoded.snap @@ -1,5 +1,6 @@ --- source: rbx_binary/src/tests/util.rs +assertion_line: 46 expression: text_roundtrip --- num_types: 1 @@ -62,11 +63,11 @@ chunks: - Prnt: version: 0 links: - - - 0 + - - 2 - -1 - - 1 - -1 - - - 2 + - - 0 - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-cframevalues__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-cframevalues__encoded.snap index 4c5beec6..c8c87b87 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-cframevalues__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-cframevalues__encoded.snap @@ -1,5 +1,6 @@ --- source: rbx_binary/src/tests/util.rs +assertion_line: 46 expression: text_roundtrip --- num_types: 1 @@ -76,9 +77,9 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - 1 - -1 + - - 0 + - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-imagebuttons__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-imagebuttons__encoded.snap index f836bc52..c9a3e360 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-imagebuttons__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-imagebuttons__encoded.snap @@ -1,5 +1,6 @@ --- source: rbx_binary/src/tests/util.rs +assertion_line: 46 expression: text_roundtrip --- num_types: 1 @@ -365,9 +366,9 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - 1 - -1 + - - 0 + - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-particleemitters__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-particleemitters__encoded.snap index 5cab72c6..2a6ad461 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-particleemitters__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-particleemitters__encoded.snap @@ -1,5 +1,6 @@ --- source: rbx_binary/src/tests/util.rs +assertion_line: 46 expression: text_roundtrip --- num_types: 1 @@ -252,9 +253,9 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - 1 - -1 + - - 0 + - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-ray-values__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-ray-values__encoded.snap index d5d950b0..80802a18 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-ray-values__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-ray-values__encoded.snap @@ -1,5 +1,6 @@ --- source: rbx_binary/src/tests/util.rs +assertion_line: 46 expression: text_roundtrip --- num_types: 1 @@ -64,9 +65,9 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - 1 - -1 + - - 0 + - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-terrainregions__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-terrainregions__encoded.snap index 6caeabb0..9e7fefd5 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-terrainregions__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__two-terrainregions__encoded.snap @@ -73,9 +73,9 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - 1 - -1 + - - 0 + - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__unions__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__unions__encoded.snap index a7c00b84..24235e6d 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__unions__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__unions__encoded.snap @@ -1,5 +1,6 @@ --- source: rbx_binary/src/tests/util.rs +assertion_line: 46 expression: text_roundtrip --- num_types: 1 @@ -534,11 +535,11 @@ chunks: - Prnt: version: 0 links: - - - 0 + - - 2 - -1 - - 1 - -1 - - - 2 + - - 0 - -1 - End diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__weldconstraint__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__weldconstraint__encoded.snap index 108a545d..05e536d9 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__weldconstraint__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__weldconstraint__encoded.snap @@ -1,5 +1,6 @@ --- source: rbx_binary/src/tests/util.rs +assertion_line: 46 expression: text_roundtrip --- num_types: 3 @@ -523,13 +524,13 @@ chunks: - Prnt: version: 0 links: - - - 0 - - -1 - - - 1 - - 0 - - - 2 - - 0 - - 3 - 1 + - - 2 + - 0 + - - 1 + - 0 + - - 0 + - -1 - End