Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew DeVore <matvore@google.com>2018-10-06 00:54:04 +0300
committerJunio C Hamano <gitster@pobox.com>2018-10-07 02:51:18 +0300
commitdcbaa0b361f5bebcbe6eca446819fadd02083461 (patch)
tree5424e437cc8b6a0665061a4dc4686200ff35f894 /t/t5701-git-serve.sh
parentbdbc17e86abe2471c4bd0d52cdc004835cb7bb3e (diff)
t/*: fix ordering of expected/observed arguments
Fix various places where the ordering was obviously wrong, meaning it was easy to find with grep. Signed-off-by: Matthew DeVore <matvore@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5701-git-serve.sh')
-rwxr-xr-xt/t5701-git-serve.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/t/t5701-git-serve.sh b/t/t5701-git-serve.sh
index 75ec79e6cb..bf139e2459 100755
--- a/t/t5701-git-serve.sh
+++ b/t/t5701-git-serve.sh
@@ -16,7 +16,7 @@ test_expect_success 'test capability advertisement' '
git serve --advertise-capabilities >out &&
test-pkt-line unpack <out >actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
test_expect_success 'stateless-rpc flag does not list capabilities' '
@@ -89,7 +89,7 @@ test_expect_success 'basics of ls-refs' '
git serve --stateless-rpc <in >out &&
test-pkt-line unpack <out >actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
test_expect_success 'basic ref-prefixes' '
@@ -109,7 +109,7 @@ test_expect_success 'basic ref-prefixes' '
git serve --stateless-rpc <in >out &&
test-pkt-line unpack <out >actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
test_expect_success 'refs/heads prefix' '
@@ -129,7 +129,7 @@ test_expect_success 'refs/heads prefix' '
git serve --stateless-rpc <in >out &&
test-pkt-line unpack <out >actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
test_expect_success 'peel parameter' '
@@ -150,7 +150,7 @@ test_expect_success 'peel parameter' '
git serve --stateless-rpc <in >out &&
test-pkt-line unpack <out >actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
test_expect_success 'symrefs parameter' '
@@ -171,7 +171,7 @@ test_expect_success 'symrefs parameter' '
git serve --stateless-rpc <in >out &&
test-pkt-line unpack <out >actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
test_expect_success 'sending server-options' '
@@ -191,7 +191,7 @@ test_expect_success 'sending server-options' '
git serve --stateless-rpc <in >out &&
test-pkt-line unpack <out >actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
test_expect_success 'unexpected lines are not allowed in fetch request' '