mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-12 22:36:56 +02:00
Perl: added test case
This commit is contained in:
12
perl/t/07_break.t
Normal file
12
perl/t/07_break.t
Normal file
@@ -0,0 +1,12 @@
|
||||
use Test::More;
|
||||
use Data::MessagePack;
|
||||
use t::Util;
|
||||
no warnings 'uninitialized'; # i need this. i need this.
|
||||
|
||||
plan tests => 1;
|
||||
|
||||
my $d = Data::MessagePack->unpack(Data::MessagePack->pack([{x => undef}]));
|
||||
$d->[0]->{x} = 1;
|
||||
ok delete $d->[0]->{x};
|
||||
$d->[0] = 4;
|
||||
|
Reference in New Issue
Block a user