Skip to content

Commit

Permalink
no need to sort list before test
Browse files Browse the repository at this point in the history
  • Loading branch information
guillomovitch committed Dec 24, 2012
1 parent 922bb0c commit 4990772
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/inventory/macos/softwares.t
Expand Up @@ -2461,8 +2461,8 @@ foreach my $test (keys %tests) {
my $file = "resources/macos/system_profiler/$test.SPApplicationsDataType";
my $softwares = FusionInventory::Agent::Task::Inventory::Input::MacOS::Softwares::_getSoftwaresList(file => $file);
cmp_deeply(
[ sort { $a->{NAME} cmp $b->{NAME} } @$softwares ],
[ sort { $a->{NAME} cmp $b->{NAME} } @{$tests{$test}} ],
$softwares,
$tests{$test},
$test
);
}

0 comments on commit 4990772

Please sign in to comment.