removed unnecessary 'file' structure level from Apt packages probe
[scpubgit/System-Introspector.git] / t / packages-apt.t
index 74aa7d6..ec99aac 100644 (file)
@@ -37,22 +37,18 @@ do {
     is_deeply $data->{sources}, {
         config => {
             sources_list => {
-                file => {
-                    file_name => $source_list,
-                    body => join "", map "$_\n",
-                        "deb http://main.example.com foo",
-                        "deb http://main.example.com bar",
-                },
+                file_name => $source_list,
+                body => join "", map "$_\n",
+                    "deb http://main.example.com foo",
+                    "deb http://main.example.com bar",
             },
             sources_list_dir => {
                 files => {
                     "other.list" => {
-                        file => {
-                            file_name => "$source_list_dir/other.list",
-                            body => join "", map "$_\n",
-                                "deb http://other.example.com foo",
-                                "deb http://other.example.com bar",
-                        },
+                        file_name => "$source_list_dir/other.list",
+                        body => join "", map "$_\n",
+                            "deb http://other.example.com foo",
+                            "deb http://other.example.com bar",
                     },
                 },
             }