File: include.t

package info (click to toggle)
libtangram-perl 2.12-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,304 kB
  • sloc: perl: 10,260; makefile: 9
file content (14 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl -w

use strict;

use Test::More tests => 3;

use vars qw($died);
BEGIN { $SIG{__WARN__} = sub { $died++ };

	use_ok(Tangram => qw(2.10_01), ":no_compat");
    }
is($died, undef, "didn't get a warning with a non-numeric version");

is($INC{"Tangram/Compat.pm"}, undef, "didn't use Tangram::Compat");