FreeBSD.software
Home/devel/p5-Test-Identity

p5-Test-Identity

0.01_1devel

Assert the referential identity of a reference

Test::Identity 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. It also provides better diagnostics if the test fails.

$pkg install p5-Test-Identity
metacpan.org/release/Test-Identity
Origin
devel/p5-Test-Identity
Size
41.0KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
1 packages
Required by
0 packages

Dependencies (1)