diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-11-23 04:05:56 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2021-11-26 08:30:08 +0000 |
commit | 709f1057b744bfa307db319d1112fe6d83743b62 (patch) | |
tree | f82a2e446d30b54bfae6533c97cccbe48cf9f63e | |
parent | 16d5d6a9dae526355caf16f2de9d57d84b5d9993 (diff) | |
download | zsh-709f1057b744bfa307db319d1112fe6d83743b62.tar.gz zsh-709f1057b744bfa307db319d1112fe6d83743b62.tar.xz zsh-709f1057b744bfa307db319d1112fe6d83743b62.zip |
47599 (tweaked): New test for '{foo,bar}' in command position
It's currently treated as a list but should perhaps be a brace expansion.
-rw-r--r-- | Test/A01grammar.ztst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst index ac39a4eea..4e39a8f3c 100644 --- a/Test/A01grammar.ztst +++ b/Test/A01grammar.ztst @@ -953,3 +953,11 @@ F:Note that the behaviour of 'exit' inside try-list inside a function is unspeci 0:Comments should be handled in command subst in interactively sourced files >foo >bar + + function 'ls,/' () {echo success} + {ls,/} +0:workers/47599: current-shell blocks masquerading as brace expansion +>success +F:This test was written to ensure the behaviour doesn't change silently. +F:If this test fails during development, it *might* be appropriate to change +F:its expectations. |