X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FRegexp-Wildcards.git;a=blobdiff_plain;f=t%2F11-opts.t;h=1874b77a707a84617509501395350cd74655db57;hp=e97ecc8b019a7027d2d381ecd007e92f7e089923;hb=39b3bffa90cd07a8edd6ff9e22481bc61c33dd6a;hpb=acf9f34eb2337730696e384d47136914f7529ee3 diff --git a/t/11-opts.t b/t/11-opts.t index e97ecc8..1874b77 100644 --- a/t/11-opts.t +++ b/t/11-opts.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 8; +use Test::More tests => 10; use Regexp::Wildcards; @@ -20,6 +20,10 @@ my $jok_gr = 'a\\,b\\{c\\,d\\}e.*f.(g)'; is($rw->convert($wc), $unix, 'nothing defaults to unix'); $rw->type('win32'); is($rw->convert($wc), $win32, 'set to win32'); +$rw->type('darwin'); +is($rw->convert($wc), $unix, 'set to darwin'); +$rw->type('MSWin32'); +is($rw->convert($wc), $win32, 'reset to win32'); $rw->type(); is($rw->convert($wc), $unix, 'reset to unix');