This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
test.pl: Allow NAME to be used with --FILE--
authorKarl Williamson <public@khwilliamson.com>
Wed, 24 Oct 2012 16:28:55 +0000 (10:28 -0600)
committerKarl Williamson <public@khwilliamson.com>
Wed, 24 Oct 2012 16:45:26 +0000 (10:45 -0600)
commite330f831eecc4294569cd42d2ab84d37326af04e
tree8539e764a09dbb1ed3604343a7ebbd5c4e12bb11
parent90249f0ae5df4271829a2e527b72534b8974ec80
test.pl: Allow NAME to be used with --FILE--

Prior to this patch the --FILE-- feature of test.pl could not be used on
tests that had a name.  This is because --FILE-- is expecting a \n
before it, and NAME strips that off.  This commit just makes the \n
optional.
t/test.pl