aboutsummaryrefslogtreecommitdiff
path: root/tests/parse.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parse.test')
-rw-r--r--tests/parse.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/parse.test b/tests/parse.test
index a897ab8..8422c51 100644
--- a/tests/parse.test
+++ b/tests/parse.test
@@ -219,4 +219,16 @@ test parse-1.43 "list containing trailing backslash" {
lindex $x 1
} def\\
+test parse-1.44 "list creation" {
+ list "a{ }d"
+} {{a{ }d}}
+
+test parse-1.45 "spaces before expr function args" {
+ expr {round (3.2)}
+} 3
+
+test parse-1.45 "expr function missing paren" {
+ catch {expr {round 3.2}}
+} 1
+
testreport