commit | author | age | ||
48e9c1 | 1 | --TEST-- |
T | 2 | Test of prefix comments handling |
3 | --SKIPIF-- | |
4 | --FILE-- | |
5 | <?php | |
6 | include '../lib/rcube_sieve_script.php'; | |
7 | ||
8 | $txt = ' | |
9 | # this is a comment | |
10 | # and the second line | |
11 | ||
12 | require ["variables"]; | |
13 | set "b" "c"; | |
14 | '; | |
15 | ||
16 | $s = new rcube_sieve_script($txt, array(), array('variables')); | |
17 | echo $s->as_text(); | |
18 | ||
19 | ?> | |
20 | --EXPECT-- | |
21 | # this is a comment | |
22 | # and the second line | |
23 | ||
24 | require ["variables"]; | |
25 | set "b" "c"; |