mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 08:38:23 +00:00
t/uni/caller.t should declare its plan at run time
Unit test should declare their test plan after compilation when possible.
This commit is contained in:
parent
2430d10f9e
commit
c5583fc738
@ -5,12 +5,13 @@ BEGIN {
|
||||
chdir 't' if -d 't';
|
||||
require './test.pl';
|
||||
set_up_inc('../lib');
|
||||
plan( tests => 18 );
|
||||
}
|
||||
|
||||
use utf8;
|
||||
use open qw( :utf8 :std );
|
||||
|
||||
plan( tests => 18 );
|
||||
|
||||
package main;
|
||||
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user