tests: eliminate Try::Tiny

This commit is contained in:
Michael Stapelberg
2011-10-05 23:21:23 +01:00
parent 689f3b8cf7
commit b9224634dd
2 changed files with 2 additions and 4 deletions

View File

@ -31,7 +31,6 @@ use EV;
use AnyEvent;
use AnyEvent::Handle;
use AnyEvent::I3 qw(:all);
use Try::Tiny; # not in core
use X11::XCB;
# install a dummy CHLD handler to overwrite the CHLD handler of AnyEvent / EV
@ -159,7 +158,7 @@ sub take_job {
# files are not written) and fallback to killing it
if ($coverage_testing) {
my $exited = 0;
try {
eval {
say "Exiting i3 cleanly...";
i3("/tmp/nested-$display")->command('exit')->recv;
$exited = 1;