summaryrefslogtreecommitdiff
path: root/t/01-doc.t
diff options
context:
space:
mode:
Diffstat (limited to 't/01-doc.t')
-rw-r--r--t/01-doc.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/01-doc.t b/t/01-doc.t
new file mode 100644
index 0000000..cbb8286
--- /dev/null
+++ b/t/01-doc.t
@@ -0,0 +1,14 @@
+#!perl
+
+use Test::More tests => 2;
+
+use HTML::AutoConvert;
+
+my $c = new HTML::AutoConvert;
+
+my $html = $c->html_convert('t/DiaryofaKillerCat.doc');
+
+#match $html against something;
+like( $html, qr/Chunky/, 'text is Chunky' );
+like( $html, qr/Monkey/, 'text has Monkey' );
+