summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-01-23 10:02:18 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-01-23 10:02:18 +0000
commit6fe2e9bb18c88740a4cfb70c8b84cce394997898 (patch)
treeb4a1db6e56453c90d0864cb361d22695524a13e3
parent2788862bc46a04bfbc9d4710c39faf169a080a23 (diff)
- added test for backslash inside a quoted-string
git-svn-id: https://svn.roundcube.net/trunk@4450 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--plugins/managesieve/tests/tokenize.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/managesieve/tests/tokenize.phpt b/plugins/managesieve/tests/tokenize.phpt
index 6b3531e2c..d1f68acea 100644
--- a/plugins/managesieve/tests/tokenize.phpt
+++ b/plugins/managesieve/tests/tokenize.phpt
@@ -22,6 +22,7 @@ text:
test
.
');
+$txt[7] = array(1, '"\\a\\\\\\"a"');
foreach ($txt as $idx => $t) {
echo "[$idx]---------------\n";
@@ -60,4 +61,6 @@ array(2) {
string(4) "test"
[1]=>
string(4) "test"
-} \ No newline at end of file
+}
+[7]---------------
+string(4) "a\"a"