aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-01-27 02:04:38 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-01-27 02:04:38 -0800
commite6725247636f4245d53efd4f0638678612efd604 (patch)
tree8552c1152be42cfe7ac8650f2f10e382cfd6445e
parent8b850322b7f94c30c6f041bc4470406fad5f3bc1 (diff)
Added extra test for safety.
-rw-r--r--lib/core/metaprogramming.nom1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/core/metaprogramming.nom b/lib/core/metaprogramming.nom
index 096c62c..3ac8c4a 100644
--- a/lib/core/metaprogramming.nom
+++ b/lib/core/metaprogramming.nom
@@ -426,6 +426,7 @@ external:
test:
assume (lua type of {}) == "table"
assume (type of {}) == "a Dict"
+ assume ((type of 5) == "a Number")
assume ({} is "a Dict")
assume ("" is text)
assume ("" is "Text")