File: version.t

package info (click to toggle)
libautodie-perl 2.10-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 528 kB
  • ctags: 305
  • sloc: perl: 4,012; makefile: 4
file content (19 lines) | stat: -rwxr-xr-x 626 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/perl -w
use strict;
use Test::More tests => 4;

# For the moment, we'd like all our versions to be the same.
# In order to play nicely with some code scanners, they need to be
# hard-coded into the files, rather than just nicking the version
# from autodie::exception at run-time.

require Fatal;
require autodie;
require autodie::hints;
require autodie::exception;
require autodie::exception::system;

is($Fatal::VERSION, $autodie::VERSION);
is($autodie::VERSION, $autodie::exception::VERSION);
is($autodie::exception::VERSION, $autodie::exception::system::VERSION);
is($Fatal::VERSION, $autodie::hints::VERSION);