File: 08_misleading.t

package info (click to toggle)
libv-perl 0.22-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 192 kB
  • sloc: perl: 556; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 436 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
#!/usr/bin/perl -I.

use strict;
use warnings;

use t::Test::abeltje;

require_ok ("V");
{   my $version = V::get_version ("Misleading");
    is ($version, 0.42, "Misleading version");
    }

{   my $version = V::get_version ("Misleading::GetVersion");
    is ($version, 0.42, "Another misleading version");
    }

{   my $version = V::get_version ("ModExtVSN");
    is ($version, 1.25, "Ignored eval");
    }

abeltje_done_testing ();