diff options
| author | Daniel Shahaf <danielsh@apache.org> | 2019-12-01 03:59:39 +0000 |
|---|---|---|
| committer | Daniel Shahaf <danielsh@apache.org> | 2019-12-01 04:00:17 +0000 |
| commit | 2acbae3badc5c9afe40e2a393472d2d303c60ae6 (patch) | |
| tree | f9b0c71874085cf125da3eb0dd415cf6463dbd59 /Test | |
| parent | unposted: _sqlite: Fix syntax error (diff) | |
| download | zsh-2acbae3badc5c9afe40e2a393472d2d303c60ae6.tar zsh-2acbae3badc5c9afe40e2a393472d2d303c60ae6.tar.gz zsh-2acbae3badc5c9afe40e2a393472d2d303c60ae6.tar.bz2 zsh-2acbae3badc5c9afe40e2a393472d2d303c60ae6.tar.lz zsh-2acbae3badc5c9afe40e2a393472d2d303c60ae6.tar.xz zsh-2acbae3badc5c9afe40e2a393472d2d303c60ae6.tar.zst zsh-2acbae3badc5c9afe40e2a393472d2d303c60ae6.zip | |
unposted: zstyle: Add a unit test and some comments.
Diffstat (limited to 'Test')
| -rw-r--r-- | Test/V05styles.ztst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Test/V05styles.ztst b/Test/V05styles.ztst index ca95b6348..c221d9db8 100644 --- a/Test/V05styles.ztst +++ b/Test/V05styles.ztst @@ -141,3 +141,13 @@ >scalar-style > :ztst:context:* second-scalar-value + (zstyle 'ctx?' foo one + zstyle 'ctx*' foo two + zstyle -s 'ctx1' foo bar && print $bar) + (zstyle 'ctx*' foo two + zstyle 'ctx?' foo one + zstyle -s 'ctx1' foo bar && print $bar) +0:patterns of equal weight are used in order of definition +>one +>two + |
