Skip to content

Commit

Permalink
improved Mojo::Home test
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 25, 2011
1 parent a166e29 commit 9528bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/mojo/home.t
Expand Up @@ -25,7 +25,7 @@ $ENV{MOJO_HOME} = $backup;
my $original =
File::Spec->catdir(File::Spec->splitdir($FindBin::Bin), '..', '..');
$home = Mojo::Home->new->detect;
is_deeply [split /\\|\//, realpath($original)], [split /\\|\//, $home],
is_deeply [split /\\|\//, scalar realpath($original)], [split /\\|\//, $home],
'right path detected';

# FindBin detection
Expand Down

0 comments on commit 9528bc3

Please sign in to comment.