@cryptotaxi247 / kubo / commits / 7b81e4e88

t0220: use test_must_be_empty()

License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>

Christian Couder committed Oct 4, 2015 at 00:13 UTC 7b81e4e88592042ac73481b82d5b24e838c97e1d
1 file changed +1 -2
test/sharness/t0220-bitswap.sh
+1 -2
@@ -24,8 +24,7 @@ test_expect_success "'ipfs bitswap unwant' succeeds" '
24
25 test_expect_success "hash was removed from wantlist" '
26 ipfs bitswap wantlist > wantlist_out &&
27 - printf "" > wantlist_exp &&
28 - test_cmp wantlist_out wantlist_exp
27 + test_must_be_empty wantlist_out
28 '
29
30 test_kill_ipfs_daemon