Skip to content

Commit b4ba65d

Browse files
committed
Fix chunk_split_variation*_32bit.phpt for Windows
Both tests fail on Windows for slightly different reasons, what appears to be legit, and as such we fix the test expectations. Closes GH-7830.
1 parent 2b81156 commit b4ba65d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/standard/tests/strings/chunk_split_variation1_32bit.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ var_dump(chunk_split($a,$b,$c));
1717
--EXPECTF--
1818
*** Testing chunk_split() : unexpected large 'end' string argument variation 1 ***
1919

20-
Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %s on line %d
20+
Fatal error: %rAllowed memory size of %d bytes exhausted%s\(tried to allocate %d bytes\)|Possible integer overflow in memory allocation \(4294901777 \+ 2097152\)%r in %s on line %d

ext/standard/tests/strings/chunk_split_variation2_32bit.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ var_dump(chunk_split($a,$b,$c));
1616
--EXPECTF--
1717
*** Testing chunk_split() : unexpected large 'end' string argument variation 2 ***
1818

19-
Fatal error: Possible integer overflow in memory allocation (65537 * 65537 + 65556) in %s on line %d
19+
Fatal error: Possible integer overflow in memory allocation (65537 * 65537 + %r65556|65560%r) in %s on line %d

0 commit comments

Comments
 (0)