# Before `make install' is performed this script should be runnable with # `make test'. After `make install' it should work as `perl Synapse-Object.t' ######################### # change 'tests => 1' to 'tests => last_test_to_print'; use lib ('../lib', './lib'); use Test::More; # tests => 8; BEGIN { use_ok('Petal::Tiny') }; my $data = join '', ; my $output = Petal::Tiny::makeitso($data, { foo => 'bar', list => [ qw /foo bar baz buz/ ], } ); unlike ($output, qr/wackoNameSpace/, 'wacko namespace'); unlike ($output, qr/moreWackoNameSpace/, 'more wackonamespace'); Test::More::done_testing(); __DATA__ This is a test foo foo

repeat/index: index

repeat/number: number

repeat/even: even

repeat/odd: odd

repeat/start: start

repeat/end: end

repeat/inner: inner

This should appear This should not appear This should appear foobar foobar