summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorNicolas R <atoomic@cpan.org>2019-02-14 10:15:10 -0600
committerNicolas R <atoomic@cpan.org>2019-02-14 10:48:57 -0600
commit673bd1ed6f78d45de6dea7b10523c70eb32afe4e (patch)
tree8710aaaee920c630833dc812f7f392f5a42fae08 /t
parent551524d7c29d0588fce9077be3d0ec93f8ca4c71 (diff)
downloadperl-673bd1ed6f78d45de6dea7b10523c70eb32afe4e.tar.gz
t/porting/manifest.t add line number
Improve t/porting/manifest.t output on errors to show the line number.
Diffstat (limited to 't')
-rw-r--r--t/porting/manifest.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/porting/manifest.t b/t/porting/manifest.t
index 57b4b3f28f..7bed600de5 100644
--- a/t/porting/manifest.t
+++ b/t/porting/manifest.t
@@ -60,11 +60,11 @@ while (<$m>) {
next;
} elsif ($separator !~ tr/ //c) {
# It's all spaces
- fail("Spaces in entry for $file");
+ fail("Spaces in entry for $file in MANIFEST at line $.");
} elsif ($separator =~ tr/\t//) {
- fail("Mixed tabs and spaces in entry for $file");
+ fail("Mixed tabs and spaces in entry for $file in MANIFEST at line $.");
} else {
- fail("Odd whitespace in entry for $file");
+ fail("Odd whitespace in entry for $file in MANIFEST at line $.");
}
}