This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Get t/uni/cache.t working under minitest
[perl5.git] / t / op / cond.t
CommitLineData
8d063cd8
LW
1#!./perl
2
63811f13
CK
3BEGIN {
4 chdir 't' if -d 't';
5 @INC = '../lib';
6 require './test.pl';
7}
8d063cd8 8
63811f13
CK
9is( 1 ? 1 : 0, 1, 'compile time, true' );
10is( 0 ? 0 : 1, 1, 'compile time, false' );
8d063cd8
LW
11
12$x = 1;
63811f13
CK
13is( $x ? 1 : 0, 1, 'run time, true');
14is( !$x ? 0 : 1, 1, 'run time, false');
15
16done_testing();