diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-09-29 12:31:07 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-29 13:53:48 -0700 |
commit | b8fbf4dbf2da0af6712aca9d705a77eef1a548d9 (patch) | |
tree | a941fe75841f4762f34bb9d6e0a38cba074e00ca | |
parent | 02ea5919b509dd0924ab63c3a4c76fbbdbff4fb6 (diff) | |
download | git-b8fbf4dbf2da0af6712aca9d705a77eef1a548d9.tar.gz |
t1300: always compare expect to actual
The two arguments to the test_cmp helper should always have the
expected output first and then the actual one, so that an unmet
expectation would appear as
-what we wanted to see
+what we actually saw
in its output.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-x | t/t1300-repo-config.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1300-repo-config.sh b/t/t1300-repo-config.sh index 0543b62227..1b3f6f4854 100755 --- a/t/t1300-repo-config.sh +++ b/t/t1300-repo-config.sh @@ -936,7 +936,7 @@ EOF test_expect_success 'value continued on next line' ' git config --list > result && - test_cmp result expect + test_cmp expect result ' cat > .git/config <<\EOF |