File: duplicate_credits.t

package info (click to toggle)
libsvg-perl 2.87-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 464 kB
  • sloc: perl: 2,789; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 203 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use strict;
use warnings;

use Test::More tests => 1;

use SVG;

my $svg = SVG->new;

$svg->xmlify;

unlike $svg->xmlify => qr/Generated.*Generated/s,
    "don't add the author credits more than once";