hydra/t/Helper/BuildDiff.t

28 lines
439 B
Perl
Raw Normal View History

2022-01-10 19:40:59 +00:00
use strict;
use warnings;
use Setup;
use Test2::V0;
use Hydra::Helper::BuildDiff;
my $ctx = test_context();
subtest "response" => sub {
my $ret = buildDiff([], []);
2022-01-10 18:02:39 +00:00
is($ret, {
2022-01-10 19:40:59 +00:00
stillSucceed => [],
stillFail => [],
nowSucceed => [],
nowFail => [],
new => [],
removed => [],
unfinished => [],
aborted => [],
failed => [],
2022-01-10 18:02:39 +00:00
});
2022-01-10 19:40:59 +00:00
};
is(1, 1);
done_testing;