aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/optionals.tm3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/optionals.tm b/test/optionals.tm
index ced42274..05008e20 100644
--- a/test/optionals.tm
+++ b/test/optionals.tm
@@ -89,6 +89,9 @@ func main():
>> (5?):or_fail()
= 5 : Int
+ >> (5?):or_exit()
+ = 5 : Int
+
>> (!Int):or_else(-1)
= -1 : Int