summaryrefslogtreecommitdiffstats
path: root/tests/compExpr.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-11-08 11:50:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-11-08 11:50:55 (GMT)
commitcf4d5a8cfe114d1b687b43c361a25182eba9597c (patch)
tree7af60139d3e7b40bf64b92bbd2c3dd0ca40e0873 /tests/compExpr.test
parent12d3a7d307b177672437966afd5673f994b757f8 (diff)
downloadtcl-cf4d5a8cfe114d1b687b43c361a25182eba9597c.zip
tcl-cf4d5a8cfe114d1b687b43c361a25182eba9597c.tar.gz
tcl-cf4d5a8cfe114d1b687b43c361a25182eba9597c.tar.bz2
TIP #485 implementation: "Remove Deprecated API". Based on Tcl 8.7 (core-8-branch).
Diffstat (limited to 'tests/compExpr.test')
-rw-r--r--tests/compExpr.test12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/compExpr.test b/tests/compExpr.test
index 14c875d..3b44af8 100644
--- a/tests/compExpr.test
+++ b/tests/compExpr.test
@@ -16,12 +16,6 @@ if {"::tcltest" ni [namespace children]} {
::tcltest::loadTestedCommands
catch [list package require -exact Tcltest [info patchlevel]]
-if {[catch {expr T1()} msg] && $msg eq {invalid command name "tcl::mathfunc::T1"}} {
- testConstraint testmathfunctions 0
-} else {
- testConstraint testmathfunctions 1
-}
-
# Constrain memory leak tests
testConstraint memory [llength [info commands memory]]
@@ -319,12 +313,6 @@ test compExpr-5.1 {CompileMathFuncCall procedure, math function found} {
test compExpr-5.2 {CompileMathFuncCall procedure, math function not found} -body {
expr {do_it()}
} -returnCodes error -match glob -result {* "*do_it"}
-test compExpr-5.3 {CompileMathFuncCall: call registered math function} testmathfunctions {
- expr 3*T1()-1
-} 368
-test compExpr-5.4 {CompileMathFuncCall: call registered math function} testmathfunctions {
- expr T2()*3
-} 1035
test compExpr-5.5 {CompileMathFuncCall procedure, too few arguments} -body {
expr {atan2(1.0)}
} -returnCodes error -match glob -result {too few arguments for math function*}