From c5583fc738b3a4b19b44760d721da042e60f85d5 Mon Sep 17 00:00:00 2001 From: Nicolas R Date: Thu, 20 Sep 2018 15:06:52 -0600 Subject: [PATCH] t/uni/caller.t should declare its plan at run time Unit test should declare their test plan after compilation when possible. --- t/uni/caller.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/uni/caller.t b/t/uni/caller.t index c48018c1ee..e05f73735d 100644 --- a/t/uni/caller.t +++ b/t/uni/caller.t @@ -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; {