Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chdir a little later
  • Loading branch information
kraih committed Jun 1, 2016
1 parent 88cbb7c commit 8c0325d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/mojolicious/command.t
Expand Up @@ -71,7 +71,6 @@ $buffer = '';
like $buffer, qr/\[exist\]/, 'right output';
open my $xml, '<', $command->rel_file('123.xml');
is join('', <$xml>), "seems\nto\nwork", 'right result';
chdir $cwd;

# Quiet
$buffer = '';
Expand All @@ -81,6 +80,7 @@ $buffer = '';
$command->quiet(1)->write_rel_file('123.xml', 'fail');
}
is $buffer, '', 'no output';
chdir $cwd;

# Abstract methods
eval { Mojolicious::Command->run };
Expand Down

0 comments on commit 8c0325d

Please sign in to comment.