t/BuildDiff: init

This commit is contained in:
Cole Helbling 2022-01-10 11:40:59 -08:00
parent 1349887974
commit 0eb952d72d

27
t/Helper/BuildDiff.t Normal file
View file

@ -0,0 +1,27 @@
use strict;
use warnings;
use Setup;
use Test2::V0;
use Hydra::Helper::BuildDiff;
my $ctx = test_context();
subtest "response" => sub {
my $ret = buildDiff([], []);
is($ret, [
stillSucceed => [],
stillFail => [],
nowSucceed => [],
nowFail => [],
new => [],
removed => [],
unfinished => [],
aborted => [],
failed => [],
]);
};
is(1, 1);
done_testing;