[Bps-public-commit] r18535 - Shipwright/trunk/t

jesse at bestpractical.com jesse at bestpractical.com
Mon Feb 23 11:34:11 EST 2009


Author: jesse
Date: Mon Feb 23 11:34:10 2009
New Revision: 18535

Modified:
   Shipwright/trunk/t/08.build.t

Log:
Tests for advanced help

Modified: Shipwright/trunk/t/08.build.t
==============================================================================
--- Shipwright/trunk/t/08.build.t	(original)
+++ Shipwright/trunk/t/08.build.t	Mon Feb 23 11:34:10 2009
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 2;
+use Test::More tests =>3;
 
 use Shipwright::Util;
 use File::Spec::Functions qw/catfile/;
@@ -11,3 +11,5 @@
 my $help = `$^X $builder --help`;
 like($help, qr/--advanced-help/, 'usage string' );
 like($help, qr/--skip-test/,'usage string');
+my $advanced_help = `$^X $builder --advanced-help`;
+like($advanced_help, qr/--install-base/, "got some advanced help");



More information about the Bps-public-commit mailing list