Skip to content

Instantly share code, notes, and snippets.

@wolfsage
Created February 26, 2015 15:47
Show Gist options
  • Save wolfsage/bb0308d9703f524080de to your computer and use it in GitHub Desktop.
Save wolfsage/bb0308d9703f524080de to your computer and use it in GitHub Desktop.
diff --git a/t/02-add.t b/t/02-add.t
index f09ac05..db7815d 100755
--- a/t/02-add.t
+++ b/t/02-add.t
@@ -74,7 +74,8 @@ subtest 'recursive behavior' => sub {
}
my $config = "$dir/gitgot";
- test_app( 'App::GitGot' => [ 'add' , '-f' , $config , '-D', '--recursive' ]);
+ my $res = test_app( 'App::GitGot' => [ 'add' , '-f' , $config , '-D', '--recursive' ]);
+ $res->error and diag("App::GitGot add -f $config -D --recursive failed: " . $res->error);
is_deeply [ sort map { $_->{name} } @{ LoadFile($config) } ] => [
qw/ alpha beta /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment