diff options
author | Karl Williamson <khw@cpan.org> | 2022-08-15 13:24:33 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-08-18 10:13:58 -0600 |
commit | c35da66beed652bff7394008fbef5d512304a5cc (patch) | |
tree | a489fbf6f6018c8e2e2bb72d771ca6aa602a23c0 | |
parent | b21ef1bcfaf488a3db27439996863462babaf8b0 (diff) | |
download | perl-c35da66beed652bff7394008fbef5d512304a5cc.tar.gz |
diag.t: Collapse all Usage: entries
These are clear enough without explanation in perldiag. There's a bunch
of them that can really be represented by just one.
-rw-r--r-- | t/porting/diag.t | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/t/porting/diag.t b/t/porting/diag.t index 7645a0f0cb..f61f8f78b6 100644 --- a/t/porting/diag.t +++ b/t/porting/diag.t @@ -240,8 +240,8 @@ sub standardize { elsif ( $name =~ m/^(Invalid version format) \([^\)]*\)/ ) { $name = "$1 (\%s)"; } - elsif ($name =~ m/^panic: /) { - $name = "panic: \%s"; + elsif ($name =~ m/^(panic|Usage): /) { + $name = "$1: \%s"; } return $name; @@ -685,20 +685,7 @@ Unexpected program mode %d when morphing back from PM Unrecognized character %s; marked by <-- HERE after %s<-- HERE near column %d Unstable directory path, current directory changed unexpectedly Unterminated compressed integer in unpack -Usage: %s(%s) -Usage: %s::%s(%s) -Usage: CODE(0x%x)(%s) -Usage: File::Copy::rmscopy(from,to[,date_flag]) -Usage: VMS::Filespec::candelete(spec) -Usage: VMS::Filespec::fileify(spec) -Usage: VMS::Filespec::pathify(spec) -Usage: VMS::Filespec::rmsexpand(spec[,defspec]) -Usage: VMS::Filespec::unixify(spec) -Usage: VMS::Filespec::unixpath(spec) -Usage: VMS::Filespec::unixrealpath(spec) -Usage: VMS::Filespec::vmsify(spec) -Usage: VMS::Filespec::vmspath(spec) -Usage: VMS::Filespec::vmsrealpath(spec) +Usage: %s utf8 "\x%X" does not map to Unicode Value of logical "%s" too long. Truncating to %i bytes waitpid: process %x is not a child of process %x |