This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Carp/t/arg_string.t: be liberal in f/p formats
authorDavid Mitchell <davem@iabyn.com>
Thu, 27 Oct 2016 08:09:24 +0000 (09:09 +0100)
committerDavid Mitchell <davem@iabyn.com>
Thu, 27 Oct 2016 08:09:24 +0000 (09:09 +0100)
commit13596abd4f24423e9d589be6da7837c6d1cbb489
tree90f9af47608af1590473cf0c450fa314ea29c65d
parente5d8cfc54f46edb55f615c1b070d809c6a47efb7
Carp/t/arg_string.t: be liberal in f/p formats

[perl #129954] dist/Carp/t/arg_string.t: Test fails

This test script checks that args are displayed sensibly in longmess()
output, but floating-point numbers can be displayed in various formats
depending on platform, so make the regex more forgiving.

Also add a comment to the top of the script explaining its purpose.
dist/Carp/t/arg_string.t