diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-02 00:03:29 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-02 00:03:29 -0700 |
commit | d6eca5d1d0b2e6bf539f25ea10948c8c396cbe8e (patch) | |
tree | 857a3de435f2a4d58a8612992b0bc97509b659a8 /t/12_unused.t | |
parent | 6e1ae015b4d6a55512be3f16f9a3eaaef343f09f (diff) | |
download | p5-Git-Annex-d6eca5d1d0b2e6bf539f25ea10948c8c396cbe8e.tar.gz |
tests: use 'is'
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 't/12_unused.t')
-rwxr-xr-x | t/12_unused.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/12_unused.t b/t/12_unused.t index 55b6a9d..2a7b9bd 100755 --- a/t/12_unused.t +++ b/t/12_unused.t @@ -26,14 +26,14 @@ with_temp_annexes { $annex->git->config(qw(annex.used-refspec +refs/heads/*)); my @unused = @{ $annex->unused }; - ok $annex->{_unused}{unused_args}{used_refspec} eq "+refs/heads/*", + is $annex->{_unused}{unused_args}{used_refspec}, "+refs/heads/*", "uses configured annex.used-refspec"; $annex->git->config(qw(--unset annex.used-refspec)); @unused = @{ $annex->unused(used_refspec => "+refs/heads/*") }; - ok $annex->{_unused}{unused_args}{used_refspec} eq "+refs/heads/*", + is $annex->{_unused}{unused_args}{used_refspec}, "+refs/heads/*", "uses passed used_refspec"; @unused = @{ $annex->unused }; - ok $annex->{_unused}{unused_args}{used_refspec} eq + is $annex->{_unused}{unused_args}{used_refspec}, "+refs/heads/*:-refs/heads/synced/*", "uses default --used-refspec"; |