Skip to content

Commit 1b6af4a

Browse files
committed
Fix test after revert of conversion
1 parent ce08189 commit 1b6af4a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ext/sockets/tests/socket_set_option_in6_pktinfo.phpt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ var_dump(socket_set_option($s, IPPROTO_IPV6, IPV6_PKTINFO, [
3535
//A work-around with is sort-of possible (with IPV6_2292PKTOPTIONS),
3636
//but not worth it
3737
//var_dump(socket_get_option($s, IPPROTO_IPV6, IPV6_PKTINFO));
38-
--EXPECT--
39-
The key 'addr' is required
38+
--EXPECTF--
39+
Warning: socket_set_option(): error converting user data (path: in6_pktinfo): The key 'addr' is required in %s on line %d
40+
bool(false)
4041
bool(true)

0 commit comments

Comments
 (0)