Changeset 2044

Show
Ignore:
Timestamp:
10/22/06 21:11:16
Author:
miyagawa
Message:

skip tests if Template::Stash is pure perl

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Template-Provider-Encoding/trunk/t/02_obj.t

    r1770 r2044  
    55if ($@) { 
    66    plan skip_all => 'require DateTime'; 
    7 } else { 
    8     plan tests => 1; 
    97} 
    10  
    11 package main; 
    128 
    139use Template; 
    1410use Template::Stash::ForceUTF8; 
     11 
     12if ($Template::Config::STASH ne 'Template::Stash::XS') { 
     13    plan skip_all => 'require Template::Stash::XS'; 
     14} 
     15 
     16plan tests => 1; 
    1517 
    1618my $tt = Template->new({