Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

Commit

Permalink
PERL-740 Fix depth coverage test for big-endian
Browse files Browse the repository at this point in the history
  • Loading branch information
xdg committed Nov 28, 2018
1 parent 08ba57c commit b3403b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/common/errors.t
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ subtest nesting => sub {

# synthesize 10 and 101 levels of BSON
my $bson_100 = encode( create_nest(100) );
my $bson_101 = pack("lCZ*",0,0x03,"a") . $bson_100 . "\x00";
substr($bson_101,0,4,pack("l",length $bson_101));
my $bson_101 = pack("l<CZ*",0,0x03,"a") . $bson_100 . "\x00";
substr($bson_101,0,4,pack("l<",length $bson_101));

eval { decode($bson_100) };
$err = $@;
Expand Down

0 comments on commit b3403b8

Please sign in to comment.