Skip to content

Commit

Permalink
Fix ext/Devel-Peek/t/Peek.t test
Browse files Browse the repository at this point in the history
  • Loading branch information
atoomic committed Aug 27, 2020
1 parent 127639b commit 174fd75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ext/Devel-Peek/t/Peek.t
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ use Test::More;
use Devel::Peek;

our $DEBUG = 0;
our ( @array, %hash );
open(SAVERR, ">&STDERR") or die "Can't dup STDERR: $!";

# If I reference any lexicals in this, I get the entire outer subroutine (or
Expand Down Expand Up @@ -928,7 +929,7 @@ do_test('small hash after keys and scalar',

note ('Dump with arrays, hashes, and operator return values -- TODO');
# Dump with arrays, hashes, and operator return values
my @array = 1..3;
@array = 1..3;
do_test('Dump @array', '@array', <<'ARRAY', '', undef, 1);
SV = PVAV\($ADDR\) at $ADDR
REFCNT = 1
Expand Down Expand Up @@ -969,7 +970,7 @@ SV = PVAV\($ADDR\) at $ADDR
IV = 1
ARRAY

my %hash = 1..2;
%hash = 1..2;
do_test('Dump %hash', '%hash', <<'HASH', '', undef, 1);
SV = PVHV\($ADDR\) at $ADDR
REFCNT = 1
Expand Down

0 comments on commit 174fd75

Please sign in to comment.