File: 03-error.t

package info (click to toggle)
libfile-mmagic-xs-perl 0.09003-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 340 kB
  • ctags: 596
  • sloc: perl: 950; ansic: 536; makefile: 51; xml: 1
file content (11 lines) | stat: -rw-r--r-- 175 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!perl
use strict;
use Test::More (tests => 3);
BEGIN
{
    use_ok("File::MMagic::XS");
}

my $fm = File::MMagic::XS->new;
ok(!$fm->fsmagic("t/non-existent"));
ok($fm->error);