#!/usr/bin/perl use strict; use warnings; use Test::More; BEGIN { eval { require Text::Textile } or plan skip_all => 'Text::Textile is required for this test'; plan tests => 3; } use Foorum::Formatter qw/filter_format/; my $text = < 'textile' } ); like( $html, qr/h1/, 'h1 OK' ); like( $html, qr/li/, '*,* OK' ); like( $html, qr/\