aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-10-08 13:39:45 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-10-08 13:39:45 -0400
commit5103fde1c5e7e92f00801fb3a0e3662e436ee881 (patch)
tree0706eab0fd626efaf2d3ce67a8acf4ea57cd4d4f
parent954ed42934ad76ac101b27b6ff06be383ad5dcd2 (diff)
Add a test for optionals to ensure they size correctly
-rw-r--r--test/optionals.tm3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/optionals.tm b/test/optionals.tm
index e2d616b7..c0cc116e 100644
--- a/test/optionals.tm
+++ b/test/optionals.tm
@@ -321,3 +321,6 @@ func main():
>> not !Int
= yes
+
+ >> [Struct(5,"A")?, Struct(6,"B"), Struct(7,"C")]
+ = [Struct(x=5, y="A")?, Struct(x=6, y="B")?, Struct(x=7, y="C")?]