mirror of
https://github.com/tmux/tmux.git
synced 2026-10-12 05:34:24 +00:00
Allow simple commands to be fired.
This commit is contained in:
10
parser-test/test-configs/if-else-elif.tmux
Normal file
10
parser-test/test-configs/if-else-elif.tmux
Normal file
@@ -0,0 +1,10 @@
|
||||
# %if/%elif/%else.
|
||||
# Expected: elif branch is selected.
|
||||
%if 0
|
||||
display-message "parser elif: selected if branch - wrong"
|
||||
%elif 1
|
||||
display-message "parser elif: selected elif branch"
|
||||
%else
|
||||
display-message "parser elif: selected else branch - wrong"
|
||||
%endif
|
||||
display-message "parser elif: after endif"
|
||||
Reference in New Issue
Block a user