I spoke too soon. Fixed tefs dirty FindBin hack with Dir::Self, which is designed for this sort of thing. Now tests work again \o/
This commit is contained in:
parent
faf81ac08b
commit
4ba776be6a
6
Butts.pm
6
Butts.pm
|
@ -56,7 +56,7 @@ use warnings;
|
|||
use Math::Random;
|
||||
use TeX::Hyphen;
|
||||
use Data::Dumper;
|
||||
use FindBin qw($RealBin);
|
||||
use Dir::Self;
|
||||
use Carp;
|
||||
|
||||
|
||||
|
@ -80,14 +80,14 @@ use warnings;
|
|||
(
|
||||
isa => 'Str',
|
||||
is => 'ro',
|
||||
default => sub { $RealBin . '/hyphen.tex' },
|
||||
default => sub { __DIR__ . '/hyphen.tex' },
|
||||
);
|
||||
|
||||
has 'stopwords_file' =>
|
||||
(
|
||||
isa => 'Str',
|
||||
is => 'ro',
|
||||
default => sub { $RealBin . '/stopwords' },
|
||||
default => sub { __DIR__ . '/stopwords' },
|
||||
);
|
||||
|
||||
has 'debug' =>
|
||||
|
|
Loading…
Reference in New Issue