From e7c0023082194e7054c124bec55b1136b6fd186e Mon Sep 17 00:00:00 2001 From: Steffen Mueller Date: Wed, 22 May 2013 22:04:51 +0200 Subject: [PATCH] EU::ParseXS: Use OO version of ExtUtils::ParseXS in test Sort of. Breaking encapsulation, but that's better than not even having a blessed object at all. --- dist/ExtUtils-ParseXS/t/104-map_type.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dist/ExtUtils-ParseXS/t/104-map_type.t b/dist/ExtUtils-ParseXS/t/104-map_type.t index 01e784e..aea5846 100644 --- a/dist/ExtUtils-ParseXS/t/104-map_type.t +++ b/dist/ExtUtils-ParseXS/t/104-map_type.t @@ -3,6 +3,7 @@ use strict; use warnings; use Test::More tests => 7; use lib qw( lib ); +use ExtUtils::ParseXS; use ExtUtils::ParseXS::Utilities qw( map_type ); @@ -10,6 +11,8 @@ use ExtUtils::ParseXS::Utilities qw( my ($self, $type, $varname); my ($result, $expected); +$self = ExtUtils::ParseXS->new; + $type = 'struct DATA *'; $varname = 'RETVAL'; $self->{hiertype} = 0; -- 2.7.4