8000 [VarDumper] fix test · symfony/symfony@a154a36 · GitHub
[go: up one dir, main page]

Skip to content

Commit a154a36

Browse files
[VarDumper] fix test
1 parent b0d9ffe commit a154a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public function testCastNonTrailingCharPointer()
213213
\FFI::memcpy($pointer, $actualMessage, $actualLength);
214214

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

219219
$this->assertDumpMatchesFormat(<<<PHP

0 commit comments

Comments
 (0)
0