diff options
author | dgp <dgp@users.sourceforge.net> | 2012-11-16 17:52:55 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2012-11-16 17:52:55 (GMT) |
commit | 614b80fda60cf70187d3da10a17391322a05b9fd (patch) | |
tree | ec6a43e86ffe6478edb5c40e92cf6c57f7b4811e /tests/compExpr.test | |
parent | 3ab4bbd194ffc866926e287445e482cffb659d8e (diff) | |
download | tcl-614b80fda60cf70187d3da10a17391322a05b9fd.zip tcl-614b80fda60cf70187d3da10a17391322a05b9fd.tar.gz tcl-614b80fda60cf70187d3da10a17391322a05b9fd.tar.bz2 |
Remove pre-8.5 interface for custom expr functions.
Diffstat (limited to 'tests/compExpr.test')
-rw-r--r-- | tests/compExpr.test | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/compExpr.test b/tests/compExpr.test index 14c875d..a2a021e 100644 --- a/tests/compExpr.test +++ b/tests/compExpr.test @@ -14,13 +14,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 +312,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*} |