Name : perl-Test-BinaryData
| |
Version : 0.016
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.1.1
| Date : 2024-02-24 07:14:30
|
Group : Unspecified
| Source RPM : perl-Test-BinaryData-0.016-lp154.1.1.src.rpm
|
Size : 0.04 MB
| |
Packager : https://www_suse_com/
| |
Summary : compare two things, give hex dumps if they differ
|
Description :
Sometimes using Test::More\'s \'is\' test isn\'t good enough. Its diagnostics may make it easy to miss differences between strings.
For example, given two strings which differ only in their line endings, you can end up with diagnostic output like this:
not ok 1
That\'s not very helpful, except to tell you that the alphanumeric characters seem to be in the right place. By using \'is_binary\' instead of \'is\', this output would be generated instead:
not ok 2
The \"!\" tells us that the lines differ, and we can quickly scan the bytes that make up the line to see which differ.
When comparing very long strings, we can stop after we\'ve seen a few differences. Here, we\'ll just look for two:
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.4/noarch |