[Bps-public-commit] SD - A distributed issue tracker branch, master, updated. 49cc5c3553f13b0451d2055511faa8d93ec717a0
jesse
jesse at bestpractical.com
Sun Jan 25 20:45:38 EST 2009
The branch, master has been updated
via 49cc5c3553f13b0451d2055511faa8d93ec717a0 (commit)
from 90dbae21abbb3add1c54895ca4924d401c977481 (commit)
Summary of changes:
lib/App/SD/Test.pm | 2 +-
t/sd-hm/update.t | 2 +-
t/sd-rt/basic.t | 4 ++--
t/sd-rt/sd-rt-permission.t | 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
- Log -----------------------------------------------------------------
commit 49cc5c3553f13b0451d2055511faa8d93ec717a0
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Sun Jan 25 20:45:13 2009 -0500
test fixes to keep up with spang's capitalization changes
diff --git a/lib/App/SD/Test.pm b/lib/App/SD/Test.pm
index f681fd5..dab60df 100644
--- a/lib/App/SD/Test.pm
+++ b/lib/App/SD/Test.pm
@@ -56,7 +56,7 @@ sub update_ticket_ok {
my ($id, @args) = (@_);
local $Test::Builder::Level = $Test::Builder::Level + 1;
Prophet::Test::run_output_matches( 'sd', [ 'ticket', 'update', $id, '--', @args ],
- [qr/ticket \d+\s+\([^)]*\)\s+updated\./]
+ [qr/ticket \d+\s+\([^)]*\)\s+updated\./i]
);
}
diff --git a/t/sd-hm/update.t b/t/sd-hm/update.t
index 55dabb7..71521b7 100644
--- a/t/sd-hm/update.t
+++ b/t/sd-hm/update.t
@@ -53,7 +53,7 @@ my ($yatta_uuid, $yatta_id);
}
is_script_output( 'sd', [ qw(ticket update --uuid), $yatta_uuid, qw(-- --summary BLABLA) ],
- [qr/ticket \d+ \(\Q$yatta_uuid\E\) updated./], # stdout
+ [qr/ticket \d+ \(\Q$yatta_uuid\E\) updated./i], # stdout
[undef], # stderr
"updated summary"
);
diff --git a/t/sd-rt/basic.t b/t/sd-rt/basic.t
index d606f82..50b1706 100644
--- a/t/sd-rt/basic.t
+++ b/t/sd-rt/basic.t
@@ -270,7 +270,7 @@ like( $out, qr/Created comment/ );
( $ret, $out, $err )
= run_script( 'sd', [ 'ticket', 'resolve', $helium_id ] );
ok( $ret, $out );
- like( $out, qr/ticket .* updated/ );
+ like( $out, qr/Ticket .* updated/ );
( $ret, $out, $err ) = run_script( 'sd', [ 'push', '--to', $sd_rt_url ] );
ok( $ret, $out );
@@ -291,7 +291,7 @@ like( $out, qr/Created comment/ );
( $ret, $out, $err )
= run_script( 'sd', [ 'ticket','delete', $flyman_id]);
ok( $ret, $out );
- like( $out, qr/ticket .* deleted/ );
+ like( $out, qr/Ticket .* deleted/i );
( $ret, $out, $err ) = run_script( 'sd', [ 'push', '--to', $sd_rt_url ] );
ok( $ret, $out );
diff --git a/t/sd-rt/sd-rt-permission.t b/t/sd-rt/sd-rt-permission.t
index 3d74ec9..3f193a5 100644
--- a/t/sd-rt/sd-rt-permission.t
+++ b/t/sd-rt/sd-rt-permission.t
@@ -96,7 +96,7 @@ diag("without write rights, ensure that trying to push it gives a sane error");
as_alice {
run_output_matches('sd', ['ticket', 'update', $flyman_id, '--', 'priority=20'],
- [qr/ticket .*$flyman_id.* updated/],
+ [qr/ticket .*$flyman_id.* updated/i],
);
($ret, $out, $err) = run_script('sd', ['push', '--to', $alice_rt_url]);
@@ -175,7 +175,7 @@ $alice->PrincipalObj->GrantRight(Right => 'ShowTicket', Object => $refuge);
as_alice {
run_output_matches('sd', ['ticket', 'resolve', $flyman_id],
- [qr/ticket .*$flyman_id.* updated/],
+ [qr/ticket .*$flyman_id.* updated/i],
);
($ret, $out, $err) = run_script('sd', ['push', '--to', $alice_rt_url]);
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list