From 3c3a9c974a6fb67e8986ccefd6e9db7fe3624343 Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Sun, 4 Oct 2015 00:02:17 +0200 Subject: [PATCH] t0100: swap test_cmp arguments License: MIT Signed-off-by: Christian Couder --- test/sharness/t0100-name.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/sharness/t0100-name.sh b/test/sharness/t0100-name.sh index aa8924bc0..8b2ebc427 100755 --- a/test/sharness/t0100-name.sh +++ b/test/sharness/t0100-name.sh @@ -20,7 +20,7 @@ test_expect_success "'ipfs name publish' succeeds" ' test_expect_success "publish output looks good" ' echo "Published to ${PEERID}: /ipfs/$HASH_WELCOME_DOCS" >expected1 && - test_cmp publish_out expected1 + test_cmp expected1 publish_out ' test_expect_success "'ipfs name resolve' succeeds" ' @@ -29,7 +29,7 @@ test_expect_success "'ipfs name resolve' succeeds" ' test_expect_success "resolve output looks good" ' printf "/ipfs/%s" "$HASH_WELCOME_DOCS" >expected2 && - test_cmp output expected2 + test_cmp expected2 output ' # now test with a path @@ -42,7 +42,7 @@ test_expect_success "'ipfs name publish' succeeds" ' test_expect_success "publish a path looks good" ' echo "Published to ${PEERID}: /ipfs/$HASH_WELCOME_DOCS/help" >expected3 && - test_cmp publish_out expected3 + test_cmp expected3 publish_out ' test_expect_success "'ipfs name resolve' succeeds" ' @@ -51,7 +51,7 @@ test_expect_success "'ipfs name resolve' succeeds" ' test_expect_success "resolve output looks good" ' printf "/ipfs/%s/help" "$HASH_WELCOME_DOCS" >expected4 && - test_cmp output expected4 + test_cmp expected4 output ' # publish with an explicit node ID