xref: /openbsd-src/gnu/usr.bin/perl/cpan/autodie/t/version.t (revision f2da64fbbbf1b03f09f390ab01267c93dfd77c4c)
1#!/usr/bin/perl -w
2use strict;
3use Test::More tests => 4;
4
5# For the moment, we'd like all our versions to be the same.
6# In order to play nicely with some code scanners, they need to be
7# hard-coded into the files, rather than just nicking the version
8# from autodie::exception at run-time.
9
10require Fatal;
11require autodie;
12require autodie::hints;
13require autodie::exception;
14require autodie::exception::system;
15
16is($Fatal::VERSION, $autodie::VERSION);
17is($autodie::VERSION, $autodie::exception::VERSION);
18is($autodie::exception::VERSION, $autodie::exception::system::VERSION);
19is($Fatal::VERSION, $autodie::hints::VERSION);
20