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

p5-Test-Identity

0.01_1

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.

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

Dependencies (1)

More in devel