[Bps-public-commit] r14513 - in Prophet/trunk: .
sartak at bestpractical.com
sartak at bestpractical.com
Fri Jul 25 07:03:57 EDT 2008
Author: sartak
Date: Fri Jul 25 07:03:57 2008
New Revision: 14513
Modified:
Prophet/trunk/ (props changed)
Prophet/trunk/t/search.t
Log:
r65200 at onn: sartak | 2008-07-25 06:32:45 -0400
Another search syntax test
Modified: Prophet/trunk/t/search.t
==============================================================================
--- Prophet/trunk/t/search.t (original)
+++ Prophet/trunk/t/search.t Fri Jul 25 07:03:57 2008
@@ -1,7 +1,7 @@
#!/usr/bin/env perl
use strict;
use warnings;
-use Prophet::Test tests => 12;
+use Prophet::Test tests => 13;
as_alice {
run_ok('prophet', [qw(create --type=Bug --), 'summary=first ticket summary', 'status=new'], "created a record as alice");
@@ -60,5 +60,13 @@
"found two tickets with status=~first|bad",
);
};
+
+ TODO: {
+ local $TODO = "regex comparisons not implemented yet";
+ run_output_matches('prophet', [qw(search --type Bug -- status != new summary =~ first|bad)],
+ [qr/bad ticket summary/],
+ "found two tickets with status=~first|bad",
+ );
+ };
};
More information about the Bps-public-commit
mailing list