12345678910111213141516
  1. use Test::More;
  2. use lib 'lib';
  3. use helper;
  4. BEGIN { use_ok( 'SugarTrail::Template::CondBlock' ); }
  5. require_ok( 'SugarTrail::Template::CondBlock' );
  6. my $cb = SugarTrail::Template::CondBlock->init();
  7. ok($cb, "cb is true");
  8. $cb->parse('os=@w7a,wxx;proto==imap;ver>=2012;');
  9. &helper::dmupp(cb=>$cb);
  10. done_testing();