mirror of
https://github.com/zsh-users/zsh
synced 2024-10-14 11:53:24 +00:00
unposted: Group related tests. No functional change.
This commit is contained in:
parent
04f41c6b6e
commit
26ec82730d
|
@ -1,5 +1,8 @@
|
|||
2019-12-21 Daniel Shahaf <danielsh@apache.org>
|
||||
|
||||
* unposted: Test/A01grammar.ztst: Group related tests.
|
||||
No functional change.
|
||||
|
||||
* unposted: Etc/BUGS: Add two bugs discussed on -workers@
|
||||
this week
|
||||
|
||||
|
|
|
@ -466,14 +466,6 @@
|
|||
>Status after always block is 1.
|
||||
?(eval):3: bad substitution
|
||||
|
||||
fn() { { return } always { echo always 1 }; echo not executed }
|
||||
fn
|
||||
fn() { { echo try 2 } always { return }; echo not executed }
|
||||
fn
|
||||
0:Always block interaction with return
|
||||
>always 1
|
||||
>try 2
|
||||
|
||||
# Outputting of structures from the wordcode is distinctly non-trivial,
|
||||
# we probably ought to have more like the following...
|
||||
fn1() { { echo foo; } }
|
||||
|
@ -720,6 +712,14 @@
|
|||
>read it
|
||||
>read it
|
||||
|
||||
fn() { { return } always { echo always 1 }; echo not executed }
|
||||
fn
|
||||
fn() { { echo try 2 } always { return }; echo not executed }
|
||||
fn
|
||||
0:Always block interaction with return
|
||||
>always 1
|
||||
>try 2
|
||||
|
||||
(
|
||||
mywrap() { echo BEGIN; true; echo END }
|
||||
mytest() { { exit 3 } always { mywrap }; print Exited before this }
|
||||
|
|
Loading…
Reference in a new issue