Skip to content

Commit 2068adb

Browse files
author
Pieter Nys
committed
Add test for edge-case with multiple escaped questionmarks at end of segment
1 parent e4afb4f commit 2068adb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/EDITest/ParserTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ public function multipleEscapedSegmentsProvider()
7777
["EQD+CX????DU12?+3456+2?:0'", [["EQD", "CX??DU12+3456", "2:0"]]],
7878
["EQD+CX??????DU12?+3456+2?:0'", [["EQD", "CX???DU12+3456", "2:0"]]],
7979
["EQD+CX????????DU12?+3456+2?:0'",[["EQD", "CX????DU12+3456", "2:0"]]],
80+
["EQD+CX??DU12?+3456+2?:0??'", [["EQD", "CX?DU12+3456", "2:0?"]]],
81+
["EQD+CX??DU12?+3456+2?:0????'", [["EQD", "CX?DU12+3456", "2:0??"]]],
82+
["EQD+CX??DU12?+3456+2?:0??????'",[["EQD", "CX?DU12+3456", "2:0???"]]],
8083
];
8184
}
8285

0 commit comments

Comments
 (0)