t/BuildDiff: init
This commit is contained in:
parent
1349887974
commit
0eb952d72d
27
t/Helper/BuildDiff.t
Normal file
27
t/Helper/BuildDiff.t
Normal 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;
|
Loading…
Reference in a new issue