File: 03-ev.t

package info (click to toggle)
libplack-test-anyevent-perl 0.08-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 248 kB
  • sloc: perl: 1,719; sh: 6; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 297 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use strict;
use warnings;
use FindBin;
use lib "$FindBin::Bin/lib";
use parent 'Plack::Test::AnyEvent::Test';
use Test::More;

sub impl_name {
    return 'AnyEvent';
}

eval {
    require EV;
};

if($@) {
    plan skip_all => "You need EV to run this test";
} else {
    __PACKAGE__->runtests;
}