Fixed windows support
Change-Id: I00796d75841ce2728f5bc9bd0524275bfb4f7ef2
diff --git a/t/real/bzk.t b/t/real/bzk.t
index 76d01ca..90a0c58 100644
--- a/t/real/bzk.t
+++ b/t/real/bzk.t
@@ -3,6 +3,7 @@
use Test::More;
use Data::Dumper;
use JSON::XS;
+use Log::Log4perl;
use Benchmark qw/:hireswallclock/;
@@ -11,12 +12,19 @@
use utf8;
use lib 'lib', '../lib';
+#Log::Log4perl->init({
+# 'log4perl.rootLogger' => 'DEBUG, STDERR',
+# 'log4perl.appender.STDERR' => 'Log::Log4perl::Appender::ScreenColoredLevels',
+# 'log4perl.appender.STDERR.layout' => 'PatternLayout',
+# 'log4perl.appender.STDERR.layout.ConversionPattern' => '[%r] %F %L %c - %m%n'
+#});
+
use File::Basename 'dirname';
use File::Spec::Functions 'catdir';
use_ok('KorAP::XML::Krill');
-my $path = catdir(dirname(__FILE__), '../corpus/BZK/D59/00001');
+my $path = catdir(dirname(__FILE__), '..', 'corpus', 'BZK', 'D59', '00001');
ok(my $doc = KorAP::XML::Krill->new( path => $path . '/' ), 'Load Korap::Document');
ok($doc->parse, 'Parse document');