File: eval.t

package info (click to toggle)
liblexical-sealrequirehints-perl 0.012-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 360 kB
  • sloc: perl: 340; makefile: 3
file content (27 lines) | stat: -rw-r--r-- 409 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
25
26
27
use warnings;
use strict;

BEGIN {
	if("$]" < 5.006001) {
		require Test::More;
		Test::More::plan(skip_all => "core bug makes this test crash");
	}
}

use Test::More tests => 9;

BEGIN { use_ok "Lexical::SealRequireHints"; }
BEGIN { unshift @INC, "./t/lib"; }

use t::eval_0;

BEGIN {
	undef *t::eval_0::_ok_no_eval;
	undef *t::eval_0::import;
	ok +scalar(do "t/eval_0.pm");
	t::eval_0->import;
}

ok 1;

1;