File: memory_cycle.t

package info (click to toggle)
libxml-stream-perl 1.24-4%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 952 kB
  • sloc: perl: 4,821; xml: 64; makefile: 4
file content (20 lines) | stat: -rw-r--r-- 260 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use strict;
use warnings;

use Test::More;
my $fail;
BEGIN {
	eval "use Test::Memory::Cycle";
	$fail = $@;
}
plan skip_all => 'Need Test::Memory::Cycle' if $fail;


plan tests => 1;

use XML::Stream;

my $stream = XML::Stream->new;

memory_cycle_ok($stream);