develooper Front page | perl.perl5.changes | Postings from August 2022

[Perl/perl5] 251f5c: Add a refcount_is() helper to t/test.pl

From:
Paul Evans via perl5-changes
Date:
August 2, 2022 19:30
Subject:
[Perl/perl5] 251f5c: Add a refcount_is() helper to t/test.pl
Message ID:
Perl/perl5/push/refs/heads/blead/46bfb3-fab1ab@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 251f5c8c2a283fea8a5ffadcb81e75dfe086a7b0
      https://github.com/Perl/perl5/commit/251f5c8c2a283fea8a5ffadcb81e75dfe086a7b0
  Author: Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
  Date:   2022-08-02 (Tue, 02 Aug 2022)

  Changed paths:
    M t/test.pl

  Log Message:
  -----------
  Add a refcount_is() helper to t/test.pl

A handy helper function that can be used in unit test .t files, rather
than currently a weird mix of using Internals::SvREFCNT everywhere.


  Commit: fab1abc517d5cbb1b03bf845006c3a5b2c9cf3b5
      https://github.com/Perl/perl5/commit/fab1abc517d5cbb1b03bf845006c3a5b2c9cf3b5
  Author: Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
  Date:   2022-08-02 (Tue, 02 Aug 2022)

  Changed paths:
    M t/op/eval.t
    M t/op/inccode.t
    M t/op/sort.t
    M t/re/qr-72922.t
    M t/re/subst.t

  Log Message:
  -----------
  Fix some unit tests to use new refcount_is() function


Compare: https://github.com/Perl/perl5/compare/46bfb3c49f22...fab1abc517d5



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