File: 03rdf.t

package info (click to toggle)
libhtml-html5-outline-perl 0.006-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 372 kB
  • sloc: perl: 3,573; makefile: 7; sh: 1
file content (12 lines) | stat: -rw-r--r-- 285 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
use Test::More;

plan skip_all => 'requires RDF::Trine' 
	unless eval 'use RDF::Trine; 1';
plan tests => 2;

eval 'use HTML::HTML5::Outline 0.004 rdf => 1;';

ok(HTML::HTML5::Outline->has_rdf,
	"RDF support can be enabled.");

ok(HTML::HTML5::Outline->can('to_rdf'), 'to_rdf exists');