File: class_methods.t

package info (click to toggle)
libtest-block-perl 0.13-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 160 kB
  • sloc: perl: 133; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 348 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
use warnings;
use Test::More tests => 5;
use Test::Builder;

BEGIN { use_ok 'Test::Block' };

is( Test::Block->block_count, 0, 'block count initially zero');

SKIP: {
	my $block = Test::Block->plan(1);
	pass('pass');
};

is( Test::Block->block_count, 1, 'block count updated');
is( Test::Builder->new, Test::Block->builder, 'builder' );