Name : perl-Test-Identity
| |
Version : 0.01
| Vendor : openSUSE
|
Release : bp154.1.1
| Date : 2021-07-15 11:24:19
|
Group : Development/Libraries/Perl
| Source RPM : perl-Test-Identity-0.01-bp154.1.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://bugs_opensuse_org
| |
Summary : Assert the referential identity of a reference
|
Description :
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.
It also provides better diagnostics if the test fails:
$ perl -MTest::More=tests,1 -MTest::Identity -e\'identical [], {}\' 1..1 not ok 1
$ perl -MTest::More=tests,1 -MTest::Identity -e\'identical [], []\' 1..1 not ok 1
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/Backports:/SLE-15-SP4/step/noarch |