Skip to content

Commit 6938418

Browse files
committed
t/run/todo.t Move start up code to after the comments
This file is designed for potential newcomers to work in. The comments should be first, for their benefit.
1 parent d96de58 commit 6938418

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

t/run/todo.t

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
#!./perl
2-
BEGIN {
3-
chdir 't' if -d 't';
4-
require './test.pl'; # for fresh_perl_is() etc
5-
set_up_inc('../lib', '.', '../ext/re');
6-
require './charset_tools.pl';
7-
require './loc_tools.pl';
8-
}
9-
use Config;
10-
11-
use strict;
12-
use warnings;
132

143
# This file is a place for tests that fail at the time they are added here.
154
#
@@ -25,6 +14,18 @@ use warnings;
2514
# it is redundant to the test demonstrating the bug that was intentionally
2615
# fixed, so can be removed altogether.)
2716

17+
BEGIN {
18+
chdir 't' if -d 't';
19+
require './test.pl'; # for fresh_perl_is() etc
20+
set_up_inc('../lib', '.', '../ext/re');
21+
require './charset_tools.pl';
22+
require './loc_tools.pl';
23+
}
24+
25+
use Config;
26+
use strict;
27+
use warnings;
28+
2829
my $switches = "";
2930

3031
{ # Fixed by acababb42be12ff2986b73c1bfa963b70bb5d54e

0 commit comments

Comments
 (0)