File: 02-dtd.t

package info (click to toggle)
libxml-writer-simple-perl 0.08-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 128 kB
  • sloc: perl: 256; xml: 7; makefile: 2
file content (7 lines) | stat: -rw-r--r-- 156 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
#!/usr/bin/perl 

use Test::More tests => 2;
use XML::Writer::Simple dtd => "t/02-dtd.dtd";

is(xx(), "<xx/>");
is(xx(yy("foo")), "<xx><yy>foo</yy></xx>");