This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
(perl #128524) correct indentation for utf-8 key hash elements
authorTony Cook <tony@develop-help.com>
Wed, 20 Jul 2016 04:10:44 +0000 (14:10 +1000)
committerTony Cook <tony@develop-help.com>
Wed, 20 Jul 2016 04:10:44 +0000 (14:10 +1000)
commit3a3625f0ae05ec93b90af756e460a7803fafd8a2
tree83d5a55c2701026d85aa14077977b8ad9c67c9e6
parent620f73f47d224d7d6fbe47dfaab9dddde6988742
(perl #128524) correct indentation for utf-8 key hash elements

For utf-8 flagged keys the indentation was left as the default, the
key length, and was not updated to the adjusted length after
escaping and quoting.

The test originally used a pre-rendered dump, but potentially other
minor changes to the output would break that, now it simply compares
against the output of the first case.
dist/Data-Dumper/Dumper.xs
dist/Data-Dumper/t/bugs.t