aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Test-Identity/pkg-descr
blob: ddb0fed46099bf97eecc97cbbd98d50503cacf97 (plain) (blame)
1
2
3
4
5
6
7
8
9
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.

WWW: https://metacpan.org/release/Test-Identity