From: Robert 'phaylon' Sedlacek Date: Thu, 10 May 2012 02:06:27 +0000 (+0000) Subject: top level git/error value X-Git-Tag: v0.001_001~91 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dff38b1cb49256fd1d809731f207306b6af5e72b;p=scpubgit%2FSystem-Introspector.git top level git/error value --- diff --git a/t/repositories-git.t b/t/repositories-git.t index 48521ca..93967bc 100644 --- a/t/repositories-git.t +++ b/t/repositories-git.t @@ -22,7 +22,10 @@ my $probe = System::Introspector::Repositories::Git->new( root => "$dir", ); -my $data = $probe->gather; +my $result = $probe->gather; +ok $result, 'received data'; +my $data = $result->{git}; +ok $data, 'received git data'; is scalar(keys %$data), 1, 'found single git repository'; my $wc = $data->{ $dir };