Add tests

This commit is contained in:
ZyX 2014-01-26 22:26:29 +04:00
parent 36c007058d
commit 8984647106
2 changed files with 12 additions and 1 deletions

View File

@ -19,6 +19,11 @@ cd ../'#[bold]'
cd ../'(echo)'
cd ../'$(echo)'
cd ../'`echo`'
cd ..
POWERLINE_COMMAND=( $POWERLINE_COMMAND[1,5] ) ; bindkey -v

echo abc
false
true is the last line
exit

View File

@ -16,4 +16,10 @@
  HOSTNAME  USER   BRANCH  ⋯  shell  3rd  #[bold]  cd ../'(echo)'
  HOSTNAME  USER   BRANCH  ⋯  shell  3rd  (echo)  cd ../'$(echo)'
  HOSTNAME  USER   BRANCH  ⋯  shell  3rd  $(echo)  cd ../'`echo`'
  HOSTNAME  USER   BRANCH  ⋯  shell  3rd  `echo`  false
  HOSTNAME  USER   BRANCH  ⋯  shell  3rd  `echo`  cd ..
  HOSTNAME  USER   BRANCH  ⋯  tests  shell  3rd  POWERLINE_COMMAND=( $POWERLINE_COMMAND[1,5] ) ; bindkey -v
 INSERT  USER  ⋯  tests  shell  3rd   COMMND  USER  ⋯  tests  shell  3rd  
 INSERT  USER  ⋯  tests  shell  3rd  
 INSERT  USER  ⋯  tests  shell  3rd  echo abc
abc
 INSERT  USER  ⋯  tests  shell  3rd  false