Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 145a58a4c23b1ceab2963d1a8b5ba6579d1786f2
      
https://github.com/Perl/perl5/commit/145a58a4c23b1ceab2963d1a8b5ba6579d1786f2
  Author: Richard Leach <richardle...@users.noreply.github.com>
  Date:   2023-08-14 (Mon, 14 Aug 2023)

  Changed paths:
    M t/test.pl

  Log Message:
  -----------
  test.pl: avoid unnecessary work in like_yn()

`like_yn()` underpins `like()` and `unlike()` in _test.pl_, so is a
fairly hot subroutine when running perl's test suite.

This commit is a light refactor that does two main things:
* Moves the `$display_got` and `$display_expected` definitions to
  only the branch where they will actually be used.
* Simplifies the definitions of `$pass`, `$display_got`, and
  `$display_expected` to make them clearer and more efficient.


  Commit: 7dbb8cb7cd157a6f424b9d8ad0db5e9fac85e011
      
https://github.com/Perl/perl5/commit/7dbb8cb7cd157a6f424b9d8ad0db5e9fac85e011
  Author: Richard Leach <richardle...@users.noreply.github.com>
  Date:   2023-08-14 (Mon, 14 Aug 2023)

  Changed paths:
    M t/test.pl

  Log Message:
  -----------
  test.pl: convert tabs to spaces in like_yn()


Compare: https://github.com/Perl/perl5/compare/6a09651902f8...7dbb8cb7cd15

Reply via email to