@cryptotaxi247 / kubo / commits / 3c3a9c974

t0100: swap test_cmp arguments

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

Christian Couder committed Oct 4, 2015 at 00:02 UTC 3c3a9c974a6fb67e8986ccefd6e9db7fe3624343
1 file changed +4 -4
test/sharness/t0100-name.sh
+4 -4
@@ -20,7 +20,7 @@ test_expect_success "'ipfs name publish' succeeds" '
20
21 test_expect_success "publish output looks good" '
22 echo "Published to ${PEERID}: /ipfs/$HASH_WELCOME_DOCS" >expected1 &&
23 - test_cmp publish_out expected1
23 + test_cmp expected1 publish_out
24 '
25
26 test_expect_success "'ipfs name resolve' succeeds" '
@@ -29,7 +29,7 @@ test_expect_success "'ipfs name resolve' succeeds" '
29
30 test_expect_success "resolve output looks good" '
31 printf "/ipfs/%s" "$HASH_WELCOME_DOCS" >expected2 &&
32 - test_cmp output expected2
32 + test_cmp expected2 output
33 '
34
35 # now test with a path
@@ -42,7 +42,7 @@ test_expect_success "'ipfs name publish' succeeds" '
42
43 test_expect_success "publish a path looks good" '
44 echo "Published to ${PEERID}: /ipfs/$HASH_WELCOME_DOCS/help" >expected3 &&
45 - test_cmp publish_out expected3
45 + test_cmp expected3 publish_out
46 '
47
48 test_expect_success "'ipfs name resolve' succeeds" '
@@ -51,7 +51,7 @@ test_expect_success "'ipfs name resolve' succeeds" '
51
52 test_expect_success "resolve output looks good" '
53 printf "/ipfs/%s/help" "$HASH_WELCOME_DOCS" >expected4 &&
54 - test_cmp output expected4
54 + test_cmp expected4 output
55 '
56
57 # publish with an explicit node ID