1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-26 15:42:21 +08:00

t0220: use test_must_be_empty()

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
This commit is contained in:
Christian Couder
2015-10-04 00:13:30 +02:00
parent 93aa8d0fb3
commit 7b81e4e885

View File

@ -24,8 +24,7 @@ test_expect_success "'ipfs bitswap unwant' succeeds" '
test_expect_success "hash was removed from wantlist" '
ipfs bitswap wantlist > wantlist_out &&
printf "" > wantlist_exp &&
test_cmp wantlist_out wantlist_exp
test_must_be_empty wantlist_out
'
test_kill_ipfs_daemon