diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-05-17 15:01:46 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-05-17 15:01:46 (GMT) |
commit | ea33b9b3844fdd5e56a5d18856af46b4fa17bfb7 (patch) | |
tree | 8915b034019dbf850e4a4bb5a569a3fc7955a43d /tests | |
parent | 21961603aba1583107e3415d3e36bf201763d140 (diff) | |
download | tcl-ea33b9b3844fdd5e56a5d18856af46b4fa17bfb7.zip tcl-ea33b9b3844fdd5e56a5d18856af46b4fa17bfb7.tar.gz tcl-ea33b9b3844fdd5e56a5d18856af46b4fa17bfb7.tar.bz2 |
[Bug 3527618]: Stabilize tests that use [info frame 0]
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dict.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/dict.test b/tests/dict.test index 5277cf6..77bacf6 100644 --- a/tests/dict.test +++ b/tests/dict.test @@ -1475,7 +1475,7 @@ proc linenumber {} { dict get [info frame -1] line } test dict-23.1 {dict compilation crash: Bug 3487626} { - apply {n { + apply {{} {apply {n { set e {} set k {} dict for {a b} {c {d {e {f g}}}} { @@ -1487,14 +1487,14 @@ test dict-23.1 {dict compilation crash: Bug 3487626} { } } } - }} [linenumber] + }} [linenumber]}} } 5 test dict-23.2 {dict compilation crash: Bug 3487626} knownBug { # Something isn't quite right in line number and continuation line # tracking; at time of writing, this test produces 7, not 5, which # indicates that the extra newlines in the non-script argument are # confusing things. - apply {n { + apply {{} {apply {n { set e {} set k {} dict for {a { @@ -1518,7 +1518,7 @@ j } } } - }} [linenumber] + }} [linenumber]}} } 5 rename linenumber {} |