pkgsrc/devel/p5-Test-Identity/DESCR
sno 711cdc76c0 Adding new package for Perl module Test::Identity from CPAN distribution
Test-Identity version 0.01 into devel/p5-Test-Identity

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.
2014-02-23 11:30:36 +00:00

6 lines
364 B
Text

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.