#!perl use strict; use warnings; use Test::More tests => 5; use_ok( 'Text::WikiFormat' ) or exit; ok( exists $Text::WikiFormat::tags{ blockorder }, 'TWF should have a blockorder entry in %tags' ); # isan ARRAY isa_ok( $Text::WikiFormat::tags{ blockorder }, 'ARRAY', '... and we hope it' ); like( join(' ', @{ $Text::WikiFormat::tags{ blockorder } }), qr/ordered.+ordered.+code/, '... and code should come after ordered and unordered' ); my $wikitext =<first list item!, 'lists should be able to start on the first line of text' );