summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-24 18:14:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-24 18:14:04 (GMT)
commitbd869d5d03cfaf015ca11003c2da48a3fe332b58 (patch)
tree1aabff6541f069cca9b7e8e51f1dcfe2f7b72304 /tests
parenta43fa652d934e4f093e7a19f35813d7569ec4405 (diff)
downloadtcl-bd869d5d03cfaf015ca11003c2da48a3fe332b58.zip
tcl-bd869d5d03cfaf015ca11003c2da48a3fe332b58.tar.gz
tcl-bd869d5d03cfaf015ca11003c2da48a3fe332b58.tar.bz2
Code cleanup: Remove unneeded #undef's, and unneeded inclused. No change in functionality.
Diffstat (limited to 'tests')
-rw-r--r--tests/compExpr-old.test1
-rw-r--r--tests/expr-old.test1
-rw-r--r--tests/expr.test1
3 files changed, 2 insertions, 1 deletions
diff --git a/tests/compExpr-old.test b/tests/compExpr-old.test
index b466eff..634bb41 100644
--- a/tests/compExpr-old.test
+++ b/tests/compExpr-old.test
@@ -588,6 +588,7 @@ test compExpr-old-15.5 {CompileMathFuncCall: too few arguments} -body {
test compExpr-old-15.6 {CompileMathFuncCall: missing ')'} -body {
expr sin(1
} -returnCodes error -match glob -result *
+
test compExpr-old-16.1 {GetToken: checks whether integer token starting with "0x" (e.g., "0x$") is invalid} {
catch {unset a}
set a(VALUE) ff15
diff --git a/tests/expr-old.test b/tests/expr-old.test
index 9f9ad99..0fc13ab 100644
--- a/tests/expr-old.test
+++ b/tests/expr-old.test
@@ -941,6 +941,7 @@ test expr-old-34.15 {errors in math functions} {
test expr-old-34.16 {errors in math functions} {
expr round(-1.0e30)
} -1000000000000000019884624838656
+
test expr-old-36.1 {ExprLooksLikeInt procedure} -body {
expr 0o289
} -returnCodes error -match glob -result {*invalid octal number*}
diff --git a/tests/expr.test b/tests/expr.test
index cc892f3..17ea113 100644
--- a/tests/expr.test
+++ b/tests/expr.test
@@ -16,7 +16,6 @@ if {[lsearch [namespace children] ::tcltest] == -1} {
}
::tcltest::loadTestedCommands
-catch [list package require -exact Tcltest [info patchlevel]]
# Determine if "long int" type is a 32 bit number and if the wide
# type is a 64 bit number on this machine.