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