/[Search-Estraier]/trunk/t/2_condition.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/t/2_condition.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 17 by dpavlin, Wed Jan 4 22:46:16 2006 UTC revision 18 by dpavlin, Wed Jan 4 22:48:29 2006 UTC
# Line 3  Line 3 
3  use strict;  use strict;
4  use blib;  use blib;
5    
6  use Test::More tests => 14;  use Test::More tests => 15;
7  use Test::Exception;  use Test::Exception;
8  #use Data::Dumper;  #use Data::Dumper;
9    
# Line 21  throws_ok { $cond->set_max('foo') } qr/n Line 21  throws_ok { $cond->set_max('foo') } qr/n
21  foreach my $opt (qw/SURE USUAL FAST AGITO NOIDF SIMPLE/) {  foreach my $opt (qw/SURE USUAL FAST AGITO NOIDF SIMPLE/) {
22          ok($cond->set_options( $opt ), 'set_option '.$opt);          ok($cond->set_options( $opt ), 'set_option '.$opt);
23  }  }
24    
25    cmp_ok($cond->phrase, 'eq', 'search', 'phrase');

Legend:
Removed from v.17  
changed lines
  Added in v.18

  ViewVC Help
Powered by ViewVC 1.1.26