File: 13_do.t

package info (click to toggle)
libtest-leaktrace-perl 0.13-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 412 kB
  • ctags: 879
  • sloc: ansic: 3,215; perl: 1,789; makefile: 7
file content (13 lines) | stat: -rwxr-xr-x 202 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!perl -w
# related to https://rt.cpan.org/Public/Bug/Display.html?id=58133
use strict;
use Test::More tests => 1;

use Test::LeakTrace;

sub foo{
	do 't/lib/foo.pl';
}


no_leaks_ok \&foo, 'do $file';