libtest-deep-perl 1.130-2 source package in Ubuntu
Changelog
libtest-deep-perl (1.130-2) unstable; urgency=medium [ Debian Janitor ] * Remove constraints unnecessary since stretch: + Build-Depends-Indep: Drop versioned constraint on libtest-simple-perl. -- Jelmer Vernooij <email address hidden> Thu, 30 Jun 2022 10:06:24 +0100
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libtest-deep-perl_1.130-2.dsc | 2.2 KiB | d598270652b303f1a5aa09625ade486bb104a50cbe6b9f10b8f0f0ee8864e88b |
libtest-deep-perl_1.130.orig.tar.gz | 40.9 KiB | 4064f494f5f62587d0ae501ca439105821ee5846c687dc6503233f55300a7c56 |
libtest-deep-perl_1.130-2.debian.tar.xz | 4.3 KiB | dd164f70316a2cbfd4609b6521888af716a63824b56b05a6094ec7fe662f4d14 |
Available diffs
- diff from 1.130-1 to 1.130-2 (803 bytes)
No changes file available.
Binary packages built by this source
- libtest-deep-perl: Perl module for extremely flexible deep comparisons
Test::Deep gives you very flexible ways to check that the result you got is
the result you were expecting. At it's simplest it compares two structures by
going through each level, ensuring that the values match, that arrays and
hashes have the same elements and that references are blessed into the correct
class. It also handles circular data structures without getting caught in an
infinite loop.
.
Where it becomes more interesting is in allowing you to do something besides
simple exact comparisons. With strings, the eq operator checks that 2 strings
are exactly equal but sometimes that's not what you want. When you don't know
exactly what the string should be but you do know some things about how it
should look, eq is no good and you must use pattern matching instead.
Test::Deep provides pattern matching for complex data structures