File: prototype.t

package info (click to toggle)
liblist-allutils-perl 0.19-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 396 kB
  • sloc: perl: 234; sh: 23; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 354 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
use strict;
use warnings;

use Test::More;

use List::AllUtils qw( all pairwise rev_nsort_by );
use Sub::Util qw( prototype );

is( prototype( \&all ),          '&@',    'prototype for all' );
is( prototype( \&pairwise ),     '&\@\@', 'prototype for pairwise' );
is( prototype( \&rev_nsort_by ), '&@',    'prototype for rev_nsort_by' );

done_testing();