Skip to content

Commit

Permalink
Merge branch '6.2' into 6.3
Browse files Browse the repository at this point in the history
* 6.2:
  [Validator] Fix tests
  [VarDumper] fix test
  • Loading branch information
nicolas-grekas committed Jul 21, 2023
2 parents b903245 + 297051f commit 34e5ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Caster/FFICasterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public function testCastNonTrailingCharPointer()
\FFI::memcpy($pointer, $actualMessage, $actualLength);

// Remove automatically addition of the trailing "\0" and remove trailing "\0"
$pointer = \FFI::cdef()->cast('char*', \FFI::cast('void*', $pointer));
$pointer = \FFI::cdef()->cast('char*', \FFI::cdef()->cast('void*', $pointer));
$pointer[$actualLength] = "\x01";

$this->assertDumpMatchesFormat(<<<PHP
Expand Down

0 comments on commit 34e5ca6

Please sign in to comment.