BSD Ports

devel/p5-Test-Identity 0.01_1 FreeBSD

Assert the referential identity of a reference

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
10.8 KiB, 41.0 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Test-Identity0.01_1
OpenBSDdevel/p5-Test-Identity0.01
NetBSDdevel/p5-Test-Identity0.01nb13
DragonFlydevel/p5-Test-Identity0.01_1
MidnightBSDdevel/p5-Test-Identity0.01_1

Install

Binary package:

pkg install p5-Test-Identity

From the ports tree:

cd /usr/ports/devel/p5-Test-Identity/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Test-Identity>0:devel/p5-Test-Identity

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.01_10.01_10.01_10.01_10.01_1
FreeBSD:14:quarterly0.01_10.01_1n/a0.01_10.01_1
FreeBSD:15:latest0.01_10.01_1n/a0.01_10.01_1
FreeBSD:15:quarterly0.01_10.01_1n/an/an/a
FreeBSD:16:latest0.01_10.01_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Test/Identity.pm
  • %%PERL5_MAN3%%/Test::Identity.3.gz
distinfo 1
FileSizeSHA256
Test-Identity-0.01.tar.gz108892f0205009aed152668182aafa16357ab1f47b4cbc001e89871b67387ef8e5f23
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.