File: 002_isa.t

package info (click to toggle)
libfile-util-perl 4.201720-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 840 kB
  • sloc: perl: 4,353; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 287 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

use strict;
use warnings;

use Test::More tests => 2;
use Test::NoWarnings;

use lib './lib';
use File::Util;

my $ftl = File::Util->new();

# check to see if File::Util ISA [foo, etc.]
ok
(
   UNIVERSAL::isa( $ftl, 'File::Util' ),
   'ISA File::Util bless matches namespace'
);

exit;