summaryrefslogtreecommitdiffstats
path: root/tests/expr.test
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2000-01-12 11:13:24 (GMT)
committerhobbs <hobbs@noemail.net>2000-01-12 11:13:24 (GMT)
commitef945e732e6bc568615ce0070db4a13535e12966 (patch)
tree82af689b665b52d5f4be35155ac4d08136341e92 /tests/expr.test
parentf2027d6f041a639c97de2694e04f53631a8a0006 (diff)
downloadtcl-ef945e732e6bc568615ce0070db4a13535e12966.zip
tcl-ef945e732e6bc568615ce0070db4a13535e12966.tar.gz
tcl-ef945e732e6bc568615ce0070db4a13535e12966.tar.bz2
* tests/info.test:
* generic/tclCmdIL.c: fixed 'info procs ::namesp::*' behavior (Dejong) * tests/unixFCmd.test: * unix/tclUnixFCmd.c: added support for symbolic permissions setting in SetPermissionsAttribute (file attr $file -perm ...) [Bug: 3970] * tests/utf.test: fixed test that allowed \8 as octal value FossilOrigin-Name: 2ce9534422c6e21c2559669571abd9602adaef0f
Diffstat (limited to 'tests/expr.test')
-rw-r--r--tests/expr.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/expr.test b/tests/expr.test
index 042002a..58fd168 100644
--- a/tests/expr.test
+++ b/tests/expr.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: expr.test,v 1.7 1999/12/04 06:16:48 hobbs Exp $
+# RCS: @(#) $Id: expr.test,v 1.8 2000/01/12 11:13:25 hobbs Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -647,6 +647,9 @@ test expr-18.1 {expr and conversion of operands to numbers} {
catch {expr int($x)}
expr {$x}
} 11
+test expr-18.2 {whitespace strings should not be == 0 (buggy strtod)} {
+ expr {" "}
+} { }
# Check "expr" and interpreter result object resetting before appending
# an error msg during evaluation of exprs not in {}s