Parent Directory | Revision Log | 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'); |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |