summaryrefslogtreecommitdiff
path: root/t/01-selfcheck.t
diff options
context:
space:
mode:
authorbeatrice <beatrice@dangofactory.net>2026-11-22 20:01:32 +0900
committerbeatrice <beatrice@dangofactory.net>2026-11-22 20:01:32 +0900
commit34d8a1931452210c27180b244ec56bbc7ff5c431 (patch)
tree8b8a15a2c32937675be1c58bb79ed8344a2f12b8 /t/01-selfcheck.t
downloadFile-MMagic-master.tar.gz
File-MMagic-master.zip
Import File-MMagic-1.30.tar.gzHEADlocal/File-MMagicmaster
Diffstat (limited to 't/01-selfcheck.t')
-rw-r--r--t/01-selfcheck.t13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/01-selfcheck.t b/t/01-selfcheck.t
new file mode 100644
index 0000000..46c1fbd
--- /dev/null
+++ b/t/01-selfcheck.t
@@ -0,0 +1,13 @@
+# perl-test
+# $Id: 01-selfcheck.t 182 2003-11-21 02:25:52Z knok $
+
+use strict;
+use Test;
+
+BEGIN { plan tests => 1 };
+
+use File::MMagic;
+
+my $magic = File::MMagic->new();
+my $ret = $magic->checktype_filename('t/01-selfcheck.t');
+ok($ret eq 'text/plain');