Re: [PATCH] Re: Restore nicetext (was Re: Remove nicetext() (was Re: [ANNOUNCE] ExtUtils::MakeMaker 6.38)) - restore_nicetext.patch (1/1)

[email protected] (Michael G Schwern)
Newsgroups perl.perl5.porters,perl.makemaker
Message-ID <[email protected]>
Craig A. Berry wrote:
> The new test fails on VMS because the "default filter" case is MM_VMS,
> not MM_Unix.  You need something like this and it will pass:
> 
> --- t/maketext_filter.t;-0      Fri Dec  7 11:24:58 2007
> +++ t/maketext_filter.t Fri Dec  7 17:33:39 2007
> @@ -20,7 +20,7 @@ sub test_filter {
>      my($text, $vms_text) = @_;
> 
>      local $Test::Builder::Level = $Test::Builder::Level + 1;
> -    is( MM->maketext_filter($text),               $text,     'default
> filter' );
> +    is( ExtUtils::MM_Unix->maketext_filter($text),
> $text,     'default filter' );
>      is( ExtUtils::MM_VMS->maketext_filter($text), $vms_text, 'VMS filter' );
>  }

Thanks.  I'll kick out a new release.


-- 
There will be snacks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.