diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-08-31 16:01:10 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-08-31 16:01:10 +0000 |
commit | b41c26d78ab813debcba35478f0a97468233570c (patch) | |
tree | 97ec4b21c791df058dd7639902602a81d88a0c0f /Test | |
parent | d19602a65a0fa7c42aacbbedbd0d9e44d52055ba (diff) | |
download | zsh-b41c26d78ab813debcba35478f0a97468233570c.tar.gz zsh-b41c26d78ab813debcba35478f0a97468233570c.tar.xz zsh-b41c26d78ab813debcba35478f0a97468233570c.zip |
25570: line numbers of complex sublists were wrong, plus test
make lineno zlong in another place
Diffstat (limited to 'Test')
-rw-r--r-- | Test/C03traps.ztst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Test/C03traps.ztst b/Test/C03traps.ztst index 1e0b4088f..f0bfd296a 100644 --- a/Test/C03traps.ztst +++ b/Test/C03traps.ztst @@ -429,6 +429,16 @@ 1:Skip assignment from DEBUG trap >5 three + fn() { + setopt localtraps localoptions debugbeforecmd + trap 'print $LINENO' DEBUG + [[ a = a ]] && print a is ok + } + fn +0:line numbers of complex sublists +>3 +>a is ok + %clean rm -f TRAPEXIT |