File: NoTest.pm

package info (click to toggle)
libtest-deep-perl 0.093-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 396 kB
  • ctags: 246
  • sloc: perl: 2,006; makefile: 42
file content (24 lines) | stat: -rw-r--r-- 441 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
use strict;
use warnings;

# this is for people who don't want Test::Builder to be loaded but want to
# use eq_deeply. It's a bit hacky...

package Test::Deep::NoTest;

use vars qw( $NoTest @ISA @EXPORT );

require Exporter;
@ISA = qw( Exporter );

@EXPORT = qw(
	eq_deeply useclass noclass set bag subbagof superbagof
	subsetof supersetof superhashof subhashof
);


local $NoTest = 1;
require Test::Deep;
Test::Deep->import( @EXPORT );

1;