-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #961 from paultcochrane/ptc/debugger_errmsg_fix
Add newline to parrot_debugger error message
- Loading branch information
Showing
3 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!perl | ||
# Copyright (C) 2005-2013, Parrot Foundation. | ||
|
||
=head1 NAME | ||
t/run/debugger_options.t - test parrot debugger command line options | ||
=head1 SYNOPSIS | ||
% prove t/run/debugger_options.t | ||
=head1 DESCRIPTION | ||
Tests C<parrot_debugger> command line options. | ||
=cut | ||
|
||
use strict; | ||
use warnings; | ||
use lib qw( lib . ../lib ../../lib ); | ||
|
||
use Test::More tests => 1; | ||
use Parrot::Config; | ||
use IO::CaptureOutput qw{ qxx }; | ||
|
||
my $PARROT_DEBUGGER = ".$PConfig{slash}parrot_debugger"; | ||
|
||
# looking at the no flag arguments error message | ||
my ( $stdout, $stderr, $success ) = qxx( "$PARROT_DEBUGGER --help" ); | ||
is( $stderr, "parrot_debugger takes no -x or --xxxx flag arguments\n", | ||
'Debugger flag argument error message' ); | ||
|
||
# Local Variables: | ||
# mode: cperl | ||
# cperl-indent-level: 4 | ||
# fill-column: 100 | ||
# End: | ||
# vim: expandtab shiftwidth=4: |