diff options
author | Paweł Słowik <pawel.slowik@iq.pl> | 2012-09-03 15:10:26 +0200 |
---|---|---|
committer | Paweł Słowik <pawel.slowik@iq.pl> | 2012-09-03 15:10:26 +0200 |
commit | 197a3e6faf9258c3cc78810081f3368325045d57 (patch) | |
tree | a51ad6b2b2701e7746b53f4507fded64821a0ba5 /plugins/managesieve/tests/parser_variables.phpt | |
parent | ffb160147a324f4b8744d13c97e1ca4177a8167a (diff) | |
parent | 4bb0bffefe3d0772f10bfd4acc3e8ccb1193211d (diff) |
Merge branch 'master' of https://github.com/roundcube/roundcubemail
Diffstat (limited to 'plugins/managesieve/tests/parser_variables.phpt')
-rw-r--r-- | plugins/managesieve/tests/parser_variables.phpt | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/plugins/managesieve/tests/parser_variables.phpt b/plugins/managesieve/tests/parser_variables.phpt deleted file mode 100644 index cf1f8fcad..000000000 --- a/plugins/managesieve/tests/parser_variables.phpt +++ /dev/null @@ -1,39 +0,0 @@ ---TEST-- -Test of Sieve variables extension ---SKIPIF-- ---FILE-- -<?php -include '../lib/rcube_sieve_script.php'; - -$txt = ' -require ["variables"]; -set "honorific" "Mr"; -set "vacation" text: -Dear ${HONORIFIC} ${last_name}, -I am out, please leave a message after the meep. -. -; -set :length "b" "${a}"; -set :lower "b" "${a}"; -set :upperfirst "b" "${a}"; -set :upperfirst :lower "b" "${a}"; -set :quotewildcard "b" "Rock*"; -'; - -$s = new rcube_sieve_script($txt, array(), array('variables')); -echo $s->as_text(); - -?> ---EXPECT-- -require ["variables"]; -set "honorific" "Mr"; -set "vacation" text: -Dear ${HONORIFIC} ${last_name}, -I am out, please leave a message after the meep. -. -; -set :length "b" "${a}"; -set :lower "b" "${a}"; -set :upperfirst "b" "${a}"; -set :upperfirst :lower "b" "${a}"; -set :quotewildcard "b" "Rock*"; |