Name : perl-Test-Deep-UnorderedPairs
| |
Version : 0.006
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.1
| Date : 2017-06-19 21:53:22
|
Group : Development/Libraries/Perl
| Source RPM : perl-Test-Deep-UnorderedPairs-0.006-1.1.src.rpm
|
Size : 0.03 MB
| |
Packager : (none)
| |
Summary : Test::Deep plugin for comparing an unordered list of tuples
|
Description :
This module provides the sub \'unordered_pairs\' (and \'tuples\', \'samehash\', as synonyms) to indicate the data being tested is a list of pairs that should be tested where the order of the pairs is insignificant.
This is useful when testing a function that returns a list of hash elements as an arrayref, not a hashref. One such application might be testing PSGI headers, which are passed around as an arrayref:
my $response = [ \'200\', [ \'Content-Length\' => \'12\', \'Content-Type\' => \'text/plain\', ], [ \'hello world!\' ], ];
cmp_deeply( $response, [ \'200\', unordered_pairs( \'Content-Type\' => \'text/plain\', \'Content-Length\' => \'12\', ], [ \'hello world!\' ], ], \'check headers as an arrayref of unordered pairs\', );
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_12_SP3/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(Test::Deep::UnorderedPairs)
perl-Test-Deep-UnorderedPairs
Requires :