Skip to content

Commit 74ff29a

Browse files
author
Chris White
committed
All tests pass in lib/ and blib/
** Edited 07-invalid.t ** Increased the error line numbers by one since the generated script now includes an extra line (`our $PSelf`). Almost done with #24.
1 parent d819137 commit 74ff29a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

t/02-basic.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use IPC::Run3;
88
# # TODO use $^X even if a PERLPP_CMD is provided.
99
#diag "perlpp command: " . CMD;
1010
(my $whereami = __FILE__) =~ s/02-basic\.t$//;
11-
diag join(' ', 'File is' . __FILE__, 'whereami', $whereami);
11+
#diag join(' ', 'File is', __FILE__, 'whereami', $whereami);
1212

1313
my @testcases=(
1414
# [$in (the script), $out (expected output), $err (stderr output, if any)]

t/07-invalid.t

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ my @testcases2 =(
3030
# please just make sure to document the change and the reason in the
3131
# corresponding commit message.
3232
[qr/script.*-E/, '--Elines', $whereami . 'multiline.txt'],
33-
[qr/error.*line 47/, '--Elines', $whereami . 'multiline.txt'],
34-
[qr/Number found.*line 48/, '--Elines', $whereami . 'multiline.txt'],
33+
[qr/error.*line 48/, '--Elines', $whereami . 'multiline.txt'],
34+
[qr/Number found.*line 49/, '--Elines', $whereami . 'multiline.txt'],
3535
);
3636

3737
plan tests =>
@@ -51,7 +51,7 @@ for my $lrTest (@testcases) {
5151

5252
for my $lrTest (@testcases2) {
5353
my $err_re = shift @$lrTest;
54-
diag join(' ',@$lrTest);
54+
#diag join(' ',@$lrTest);
5555
run_perlpp $lrTest, undef, undef, \$err;
5656
like($err, $err_re);
5757
}

0 commit comments

Comments
 (0)