diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-05-06 23:14:57 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-05-06 23:14:57 -0400 |
| commit | 1b89eea1cf6126a2f80f51dcc83782ce70265f7e (patch) | |
| tree | ac53bc3b6960c524ff7d1e8649dc6fa14f27694f /test/serialization.tm | |
| parent | a63a7383a3aa25f1562464c94c356b7aacbbb0a6 (diff) | |
Bugfix for serialization of sets and tables with fallbacks
Diffstat (limited to 'test/serialization.tm')
| -rw-r--r-- | test/serialization.tm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/serialization.tm b/test/serialization.tm index 258282c1..12917f98 100644 --- a/test/serialization.tm +++ b/test/serialization.tm @@ -53,7 +53,10 @@ func main() do >> obj := {"A"=10, "B"=20; fallback={"C"=30}} >> bytes := obj.serialized() - >> deserialize(bytes -> {Text=Int}) == obj + >> roundtrip := deserialize(bytes -> {Text=Int}) + >> roundtrip == obj + = yes + >> roundtrip.fallback == obj.fallback = yes do |
