X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fpod%2Fspecial_seqs.t;h=ecd99ecde814b0977e854cae65a15db15810252c;hb=22d4bb9ccb8701e68f9243547d7e3a3c55f70908;hp=b8af57ee05867af46a6642973d385cc7d02db5a5;hpb=4b19af017623bfa3bb72bb164598a517f586e0d3;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/pod/special_seqs.t b/t/pod/special_seqs.t index b8af57e..ecd99ec 100755 --- a/t/pod/special_seqs.t +++ b/t/pod/special_seqs.t @@ -1,7 +1,7 @@ -#!./perl BEGIN { - chdir 't' if -d 't'; - unshift @INC, './pod', '../lib'; + use File::Basename; + my $THISDIR = dirname $0; + unshift @INC, $THISDIR; require "testp2pt.pl"; import TestPodIncPlainText; } @@ -40,4 +40,7 @@ So things like C<<$self->method()>> and C<<$self->{FIELDNAME}>> wont end up doing what you might expect since the first > will still terminate the first < seen. +Lets make sure these work for empty ones too, like C<< >> and C<< >> >> +(just to be obnoxious) + =cut