[Bps-public-commit] r14547 - in Prophet/trunk: .

sartak at bestpractical.com sartak at bestpractical.com
Sun Jul 27 11:53:32 EDT 2008


Author: sartak
Date: Sun Jul 27 11:53:32 2008
New Revision: 14547

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/t/search.t

Log:
 r65246 at onn:  sartak | 2008-07-27 11:53:07 -0400
 Confirm that regex + props in search work


Modified: Prophet/trunk/t/search.t
==============================================================================
--- Prophet/trunk/t/search.t	(original)
+++ Prophet/trunk/t/search.t	Sun Jul 27 11:53:32 2008
@@ -1,7 +1,7 @@
 #!/usr/bin/env perl
 use strict;
 use warnings;
-use Prophet::Test tests => 14;
+use Prophet::Test tests => 15;
 
 as_alice {
     run_ok('prophet', [qw(create --type=Bug --), 'summary=first ticket summary', 'status=new'], "created a record as alice");
@@ -64,5 +64,10 @@
         [qr/bad ticket summary/],
         "found the ticket with cmp=ne (which didn't treat 'ne' as a comparator)",
     );
+
+    run_output_matches('prophet', [qw(search --type Bug --regex=new -- status=~n)],
+        [qr/first ticket summary/],
+        "found a ticket with regex and props working together",
+    );
 };
 



More information about the Bps-public-commit mailing list