./devel/p5-Test-Identity, Assert the referential identity of a reference

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2022Q3, Version: 0.01nb9, Package name: p5-Test-Identity-0.01nb9, Maintainer: pkgsrc-users

This module provides a single testing function, "identical". It asserts
that a given reference is as expected; that is, it either refers to the
same object or is "undef". It is similar to "Test::More::is" except that
it uses "refaddr", ensuring that it behaves correctly even if the
references under test are objects that overload stringification or
numification.


Master sites: (Expand)

Filesize: 10.634 KB

Version history: (Expand)