- Name: perl-Test-Identity
- Version: 0.10.0
- Release: 1.mga1
- Epoch:
- Group: Development/Perl
- License: GPL+ or Artistic
- Url: http://search.cpan.org/dist/Test-Identity
- Summary: Assert the referential identity of a reference
- Architecture: noarch
- Size: 12736
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: Mageia Team <http://www.mageia.org>
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
- BuildArch:
- ExcludeArch:
- ExclusiveArch:
- Cookie: ecosse 1295695155
- Buildhost: ecosse
Generated packages:
Other version of this rpm: