[Bps-public-commit] r14509 - in Prophet/trunk: .
sartak at bestpractical.com
sartak at bestpractical.com
Fri Jul 25 05:51:04 EDT 2008
Author: sartak
Date: Fri Jul 25 05:51:00 2008
New Revision: 14509
Modified:
Prophet/trunk/ (props changed)
Prophet/trunk/t/search.t
Log:
r65195 at onn: sartak | 2008-07-25 05:50:51 -0400
Ah, we were checking the wrong summary. d'oh
Modified: Prophet/trunk/t/search.t
==============================================================================
--- Prophet/trunk/t/search.t (original)
+++ Prophet/trunk/t/search.t Fri Jul 25 05:51:00 2008
@@ -38,13 +38,10 @@
);
};
- TODO: {
- local $TODO = "negative comparisons not implemented yet";
- run_output_matches('prophet', [qw(search --type Bug -- status!=new)],
- [qr/other ticket summary/, qr/stalled ticket summary/],
- "found two tickets with status!=new",
- );
- };
+ run_output_matches('prophet', [qw(search --type Bug -- status!=new)],
+ [qr/other ticket summary/, qr/bad ticket summary/],
+ "found two tickets with status!=new",
+ );
run_output_matches('prophet', [qw(search --type Bug -- status=~n)],
[qr/first ticket summary/, qr/other ticket summary/],
@@ -54,7 +51,7 @@
TODO: {
local $TODO = "regex comparisons not implemented yet";
run_output_matches('prophet', [qw(search --type Bug -- summary=~first|stalled)],
- [qr/first ticket summary/, qr/stalled ticket summary/],
+ [qr/first ticket summary/, qr/bad ticket summary/],
"found two tickets with status=~first|stalled",
);
};
@@ -62,7 +59,7 @@
TODO: {
local $TODO = "regex comparisons not implemented yet";
run_output_matches('prophet', [qw(search --type Bug -- status !=new summary=~first|stalled)],
- [qr/stalled ticket summary/],
+ [qr/bad ticket summary/],
"found two tickets with status=~first|stalled",
);
};
More information about the Bps-public-commit
mailing list