File: test_deep.t

package info (click to toggle)
libtest-class-perl 0.35-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 476 kB
  • ctags: 102
  • sloc: perl: 1,668; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 282 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /usr/bin/perl

use strict;
use warnings;
use Test::More tests => 1;
use Test::Class;

{   package Test::Deep;
    sub isa { 1 };
}

is_deeply [ Test::Class->_test_classes ], [ 'Test::Class' ],
    'Test::Deep is not included as a test class, even though isa always returns true';