File: 26-test2-compat.t

package info (click to toggle)
libtest-warnings-perl 0.038-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 472 kB
  • sloc: perl: 375; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 308 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use strict;
use warnings;

BEGIN {
  $^W = 1;
  eval { +require Test2::V0; 1 } or do { print "1..0 # SKIP Need Test2::V0\n"; exit };
  Test2::V0->import;
}

use Test2::Warnings;

pass('this is a test which does not warn');

# for now, we just visually observe we add a no-warnings test here.
done_testing();