From 768fd1576db46dc9f6fdf8c63b324c4bc79a426a Mon Sep 17 00:00:00 2001 From: Yves Orton Date: Wed, 18 Oct 2006 22:51:41 +0200 Subject: Re: Off by one in the trie code? Message-ID: <9b18b3110610181151i3ca438cdied769ebaa4255079@mail.gmail.com> change test files that do a require "./test.pl"; without a BEGIN block to ensure prototypes are seen, plus fix any breakage this reveals. p4raw-id: //depot/perl@29056 --- t/comp/parser.t | 2 +- t/comp/utf.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 't/comp') diff --git a/t/comp/parser.t b/t/comp/parser.t index a05085879f..2599bdf5b3 100644 --- a/t/comp/parser.t +++ b/t/comp/parser.t @@ -8,7 +8,7 @@ BEGIN { @INC = '../lib'; } -require "./test.pl"; +BEGIN { require "./test.pl"; } plan( tests => 60 ); eval '%@x=0;'; diff --git a/t/comp/utf.t b/t/comp/utf.t index 90a9e5e11b..f0673eb964 100644 --- a/t/comp/utf.t +++ b/t/comp/utf.t @@ -18,7 +18,7 @@ BEGIN { } } -require "./test.pl"; +BEGIN { require "./test.pl"; } plan(tests => 15); -- cgit v1.2.1