Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2012 18:32:56 -0800 (AKDT)
From:      Mel Flynn <rflynn@acsalaska.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Steve Wills <swills@FreeBSD.org>, Maintainer <perl@FreeBSD.org>
Subject:   ports/166628: [patch] devel/p5-MooseX-Getopt: Fix test
Message-ID:  <201204040232.q342WugR075530@datakitty.lan.rachie.is-a-geek.net>
Resent-Message-ID: <201204040240.q342e3TB081541@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         166628
>Category:       ports
>Synopsis:       [patch] devel/p5-MooseX-Getopt: Fix test
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 04 02:40:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mel Flynn
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD datakitty.lan.rachie.is-a-geek.net 8.2-STABLE FreeBSD 8.2-STABLE #6 r230977: Sun Feb 5 06:20:11 AKST 2012 mel@datakitty.lan.rachie.is-a-geek.net:/data/obj/data/RELENG_8/src/sys/GENERIC amd64


>Description:
Phrasing of exception has changed but test doesn't reflect it.

>How-To-Repeat:
Test affected port.

>Fix:

--- p5-MooseX-Getopt.patch begins here ---
Index: devel/p5-MooseX-Getopt/files/patch-t__008_configfromfile.t
===================================================================
RCS file: devel/p5-MooseX-Getopt/files/patch-t__008_configfromfile.t
diff -N devel/p5-MooseX-Getopt/files/patch-t__008_configfromfile.t
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ devel/p5-MooseX-Getopt/files/patch-t__008_configfromfile.t	4 Apr 2012 02:16:52 -0000
@@ -0,0 +1,20 @@
+--- t/008_configfromfile.t.orig	2012-02-03 05:27:38.000000000 -0900
++++ t/008_configfromfile.t	2012-04-03 18:15:22.000000000 -0800
+@@ -86,7 +86,7 @@
+ {
+     local @ARGV = qw( --required_from_argv 1 );
+ 
+-    like exception { App->new_with_options }, qr/Required option missing: required_from_config/;
++    like exception { App->new_with_options }, qr/Mandatory parameter 'required_from_config' missing in call to/;
+ 
+     {
+         my $app = App::DefaultConfigFile->new_with_options;
+@@ -155,7 +155,7 @@
+ # Required arg not supplied from cmdline
+ {
+     local @ARGV = qw( --configfile /notused );
+-    like exception { App->new_with_options }, qr/Required option missing: required_from_argv/;
++    like exception { App->new_with_options }, qr/Mandatory parameter 'required_from_argv' missing in call to/;
+ }
+ 
+ # Config file value overriden from cmdline
--- p5-MooseX-Getopt.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204040232.q342WugR075530>