From: Robert 'phaylon' Sedlacek Date: Wed, 9 May 2012 22:09:22 +0000 (+0000) Subject: there is now a 'package' key below 'installed' to be able to detect 'error' X-Git-Tag: v0.001_001~101 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1263950b8ede1c43cbd5dd2614ce4caab4748632;p=scpubgit%2FSystem-Introspector.git there is now a 'package' key below 'installed' to be able to detect 'error' --- diff --git a/t/packages-apt.t b/t/packages-apt.t index ac30cb8..f96d685 100644 --- a/t/packages-apt.t +++ b/t/packages-apt.t @@ -8,7 +8,9 @@ my $data = $probe->gather; ok(scalar(keys %$data), 'received packages'); ok( - not(grep { not exists $_->{version} } values %{$data->{installed}}), + not(grep { + not exists $_->{version} + } values %{$data->{installed}{packages}}), 'versions', );