diff options
Diffstat (limited to 'tests/expr.test')
-rw-r--r-- | tests/expr.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/expr.test b/tests/expr.test index de6eb4a..713681a 100644 --- a/tests/expr.test +++ b/tests/expr.test @@ -7157,6 +7157,15 @@ test expr-51.1 {test round-to-even on input} { expr 6.9294956446009195e15 } 6929495644600920.0 +test expr-52.1 { + comparison with empty string does not generate string representation +} { + set a [list one two three] + list [expr {$a eq {}}] [expr {$a < {}}] [expr {$a > {}}] [ + string match {*no string representation*} [ + ::tcl::unsupported::representation $a]] +} {0 0 1 1} + # cleanup |