diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-06-23 15:36:52 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-06-23 15:36:52 (GMT) |
commit | 917f6e364bb4aaeed6b6e109ce16525d58091193 (patch) | |
tree | 62ce3a9ba3ee31456f0967b7e5e3c7b35c33dd5e /tests/expr-old.test | |
parent | 5ce4f325726f9d4a32b7499cc8a0ff0d81a2dc48 (diff) | |
download | tcl-917f6e364bb4aaeed6b6e109ce16525d58091193.zip tcl-917f6e364bb4aaeed6b6e109ce16525d58091193.tar.gz tcl-917f6e364bb4aaeed6b6e109ce16525d58091193.tar.bz2 |
Standardize some use of test constraints onto names that are documented
Diffstat (limited to 'tests/expr-old.test')
-rw-r--r-- | tests/expr-old.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/expr-old.test b/tests/expr-old.test index 1d7b796..85a408b 100644 --- a/tests/expr-old.test +++ b/tests/expr-old.test @@ -13,7 +13,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-old.test,v 1.18 2004/05/19 20:15:31 dkf Exp $ +# RCS: @(#) $Id: expr-old.test,v 1.19 2004/06/23 15:36:56 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2.1 @@ -915,7 +915,7 @@ test expr-old-36.6 {ExprLooksLikeInt procedure} { set x { -22} list [catch {expr {$x+1}} msg] $msg } {0 -21} -test expr-old-36.7 {ExprLooksLikeInt procedure} {nonPortable unixOnly} { +test expr-old-36.7 {ExprLooksLikeInt procedure} {nonPortable unix} { list [catch {expr nan} msg] $msg } {1 {domain error: argument not in valid range}} test expr-old-36.8 {ExprLooksLikeInt procedure} { @@ -924,7 +924,7 @@ test expr-old-36.8 {ExprLooksLikeInt procedure} { test expr-old-36.9 {ExprLooksLikeInt procedure} { list [catch {expr 24E1} msg] $msg } {0 240.0} -test expr-old-36.10 {ExprLooksLikeInt procedure} {nonPortable unixOnly} { +test expr-old-36.10 {ExprLooksLikeInt procedure} {nonPortable unix} { list [catch {expr 78e} msg] $msg } {1 {syntax error in expression "78e"}} |