@@ -93,8 +93,9 @@ public static function provideReduceMultiples(): iterable
9393 {
9494 yield from [
9595 // string, expected
96- 'double commas ' => ['Fred, Bill,, Joe, Jimmy ' , 'Fred, Bill, Joe, Jimmy ' ],
97- 'double commas at last ' => ['Ringo, John, Paul,, ' , 'Ringo, John, Paul, ' ],
96+ 'double commas ' => ['Fred, Bill,, Joe, Jimmy ' , 'Fred, Bill, Joe, Jimmy ' ],
97+ 'double commas at last ' => ['Ringo, John, Paul,, ' , 'Ringo, John, Paul, ' ],
98+ 'commas at first and last ' => [',Fred, Bill,, Joe, Jimmy, ' , ',Fred, Bill, Joe, Jimmy, ' ],
9899 ];
99100 }
100101
@@ -108,8 +109,9 @@ public static function provideReduceMultiplesWithTrim(): iterable
108109 {
109110 yield from [
110111 // string, expected
111- 'double commas ' => ['Fred, Bill,, Joe, Jimmy ' , 'Fred, Bill, Joe, Jimmy ' ],
112- 'double commas at last ' => ['Ringo, John, Paul,, ' , 'Ringo, John, Paul ' ],
112+ 'double commas ' => ['Fred, Bill,, Joe, Jimmy ' , 'Fred, Bill, Joe, Jimmy ' ],
113+ 'double commas at last ' => ['Ringo, John, Paul,, ' , 'Ringo, John, Paul ' ],
114+ 'commas at first and last ' => [',Fred, Bill,, Joe, Jimmy, ' , 'Fred, Bill, Joe, Jimmy ' ],
113115 ];
114116 }
115117
0 commit comments