This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
APItest/t/utf8_warn_base.pl: Improve some more diagnostics
authorKarl Williamson <khw@cpan.org>
Thu, 15 Jun 2017 21:00:08 +0000 (15:00 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 13 Jul 2017 03:14:24 +0000 (21:14 -0600)
commita8ee5133c5c9c441dbcc47634e6d89e032237d9d
tree62cad799e9ca0921e4d21250d9205f426d27b078
parentd884ea320c9cab99f6a561e7fc84844a14105f07
APItest/t/utf8_warn_base.pl: Improve some more diagnostics

This changes the diagnostics when testing utf8n_to_uvchr() so they are
more human readable, and aren't generated until failure.

It also corrects things to display $@ on eval failure (previously it
displayed $!)
ext/XS-APItest/t/utf8_warn_base.pl