less boilerplate by using Test::Kit and -It/lib in Makefile

This commit is contained in:
Michael Stapelberg
2010-04-17 22:49:26 +02:00
parent a2e3bb1cdd
commit 206e1ed041
22 changed files with 36 additions and 131 deletions

View File

@ -1,18 +1,11 @@
#!perl
# vim:ts=4:sw=4:expandtab
use Test::More tests => 3;
use Test::Deep;
use i3test tests => 3;
use X11::XCB qw(:all);
use Data::Dumper;
use Time::HiRes qw(sleep);
use FindBin;
use lib "$FindBin::Bin/lib";
use i3test;
use AnyEvent::I3;
BEGIN {
use_ok('IO::Socket::UNIX') or BAIL_OUT('Cannot load IO::Socket::UNIX');
use_ok('X11::XCB::Connection') or BAIL_OUT('Cannot load X11::XCB::Connection');
}