[Bps-public-commit] SD - A distributed issue tracker branch, master, updated. bd87dc370c5f8608a6381af6619d81630056190c
sartak at bestpractical.com
sartak at bestpractical.com
Thu Feb 5 16:28:03 EST 2009
The branch, master has been updated
via bd87dc370c5f8608a6381af6619d81630056190c (commit)
from 93ae0fc068f81eaf26f2a224357578f41c637182 (commit)
Summary of changes:
t/06-ticket-show.t | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit bd87dc370c5f8608a6381af6619d81630056190c
Author: Shawn M Moore <sartak at gmail.com>
Date: Thu Feb 5 16:27:53 2009 -0500
Test functions need to bump Test::Builder::Level
diff --git a/t/06-ticket-show.t b/t/06-ticket-show.t
index 989bb0e..e603788 100644
--- a/t/06-ticket-show.t
+++ b/t/06-ticket-show.t
@@ -25,6 +25,8 @@ my ($ticket_id, $ticket_uuid) = create_ticket_ok( '--summary', 'YATTA');
sub check_output_with_history {
my @extra_args = @_;
+ local $Test::Builder::Level = $Test::Builder::Level + 1;
+
TODO: {
local $TODO = "Sometimes, the ordering doesn't work right on sqlite";
run_output_matches( 'sd', [ 'ticket', 'show', $ticket_id, @extra_args ],
@@ -62,6 +64,7 @@ TODO: {
sub check_output_without_history {
my @extra_args = @_;
+ local $Test::Builder::Level = $Test::Builder::Level + 1;
run_output_matches( 'sd', [ 'ticket', 'show', $ticket_id, @_],
[
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list