File: cb.t

package info (click to toggle)
libconvert-uulib-perl 1%3A1.5~dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 688 kB
  • sloc: ansic: 8,212; perl: 145; makefile: 53; awk: 13
file content (11 lines) | stat: -rw-r--r-- 284 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
BEGIN { $| = 1; print "1..3\n"; }
END {print "not ok 1\n" unless $loaded;}
use Convert::UUlib ':all';
$loaded = 1;
print "ok 1\n";

SetFNameFilter(sub { $_[0]+1 });
print FNameFilter(5) == 6 ? "" : "not ","ok 2\n";
SetFNameFilter();
print FNameFilter(5) == 5 ? "" : "not ","ok 3\n";