mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-26 23:53:19 +08:00
t0220: use test_must_be_empty()
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user