Skip to content

Commit

Permalink
Fix macos unittest while Tie::IxHash module is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed Nov 28, 2016
1 parent d44ccb4 commit 6488313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/agent/tools/macos.t
Original file line number Diff line number Diff line change
Expand Up @@ -3410,7 +3410,7 @@ my $softwaresFromXmlFile = FusionInventory::Agent::Tools::MacOS::_getSystemProfi
Tie::IxHash->require();
my $checkTieIxHash = $EVAL_ERROR ? 0 : 1;
SKIP : {
skip 'test only if module Tie::IxHash available', 2 unless $checkTieIxHash;
skip 'test only if module Tie::IxHash available', 4 unless $checkTieIxHash;

ok (ref($softwaresFromFlatFile) eq 'HASH');
ok (ref($softwaresFromXmlFile) eq 'HASH');
Expand Down

0 comments on commit 6488313

Please sign in to comment.