develooper Front page | perl.perl5.changes | Postings from March 2023

[Perl/perl5] 06ab9c: t/test.pl - don't show diff view for shortstrings

From:
Yves Orton via perl5-changes
Date:
March 24, 2023 11:50
Subject:
[Perl/perl5] 06ab9c: t/test.pl - don't show diff view for shortstrings
Message ID:
Perl/perl5/push/refs/heads/yves/restricted_hash_disallow_alias_or_local/2edec6-41fe7f@github.com
  Branch: refs/heads/yves/restricted_hash_disallow_alias_or_local
  Home:   https://github.com/Perl/perl5
  Commit: 06ab9cf35cbb083248c09d0fa094f96c915fec51
      https://github.com/Perl/perl5/commit/06ab9cf35cbb083248c09d0fa094f96c915fec51
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M t/test.pl

  Log Message:
  -----------
  t/test.pl - don't show diff view for short strings

The diff view is intended for very long strings where it is difficult
to eyeball what changed. Showing it for short strings like stringified
refs is not that helpful, so raise the threshold from 20 chars to 60
chars.


  Commit: 41fe7f5b418e068a6193cb565657e4ec2ad2b8a5
      https://github.com/Perl/perl5/commit/41fe7f5b418e068a6193cb565657e4ec2ad2b8a5
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M t/op/lvref.t

  Log Message:
  -----------
  lvref.t - tests for localization and aliasing elements of a restricted hash


Compare: https://github.com/Perl/perl5/compare/2edec63e2549...41fe7f5b418e



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About