t/BuildDiff: init

[?]
Jan 10, 2022, 7:40 PM
3R3AYTCQB2GWAD37UTDYPSN6ETAJHCPFHCUWQ2EJ4W476IXAUMRQC

Dependencies

  • [2] S2KNQCPB NixExprs: extract the `escape` function and test it

Change contents

  • file addition: BuildDiff.t (----------)
    [2.981]
    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;