Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use catfile for portability (as Xslate does internally)

  • Loading branch information...
commit 7be2fb6c55393e64d4532b084127d607db9f9b0f 1 parent a31d5db
@charsbar authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 t/900_bugs/026_issue61.t
View
4 t/900_bugs/026_issue61.t
@@ -6,6 +6,7 @@ use warnings;
use Fatal qw(open close);
use Test::More;
use File::Temp qw(tempdir);
+use File::Spec ();
use Text::Xslate;
# problems on depend cache
@@ -53,7 +54,8 @@ T
is $tx->render("main.tx"), $content_base;
is $tx->render("main.tx"), $content_base;
- is $tx->{_load_source_count}{"$service/main.tx"} => 1;
+ my $path = File::Spec->catfile($service, "main.tx");
+ is $tx->{_load_source_count}{$path} => 1;
}

0 comments on commit 7be2fb6

Please sign in to comment.
Something went wrong with that request. Please try again.