diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-03-04 16:52:01 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-03-04 16:52:01 (GMT) |
commit | e3a722221577f7aaeaa942bb59bbe67306b61229 (patch) | |
tree | 52c20b244136cfda64102e6d08625cd9dd99b6b8 /tests/info.test | |
parent | e7d0f5ecae05758ef91de4a3c1e6422bd82953ed (diff) | |
download | tcl-e3a722221577f7aaeaa942bb59bbe67306b61229.zip tcl-e3a722221577f7aaeaa942bb59bbe67306b61229.tar.gz tcl-e3a722221577f7aaeaa942bb59bbe67306b61229.tar.bz2 |
Compilation of misc info sometimes used in high-performance code.
Diffstat (limited to 'tests/info.test')
-rw-r--r-- | tests/info.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/info.test b/tests/info.test index 3323281..a9f740e 100644 --- a/tests/info.test +++ b/tests/info.test @@ -1955,6 +1955,12 @@ test info-38.2 {location information for uplevel, dl, direct-literal} -match glo * {type source line 1951 file info.test cmd etrace level 1} * {type source line 1949 file info.test cmd uplevel\\ \\\\ level 1}} -cleanup {interp delete sub} +# This test at the end of this file _only_ to avoid disturbing above line +# numbers. It _belongs_ after info-9.12 +test info-9.13 {info level option, value in global context} -body { + uplevel #0 {info level 2} +} -returnCodes error -result {bad level "2"} + # ------------------------------------------------------------------------- unset -nocomplain res |