From: Felipe Contreras Date: Wed, 28 Nov 2012 22:11:09 +0000 (+0100) Subject: fast-export: fix comparison in tests X-Git-Tag: v1.8.2-rc0~186^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ff10fc86989940eb2c016511c293bc0ac50e6f6;p=thirdparty%2Fgit.git fast-export: fix comparison in tests First the expected, then the actual, otherwise the diff would be the opposite of what we want. Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano --- diff --git a/t/t9350-fast-export.sh b/t/t9350-fast-export.sh index 5948b65f21..1f598622a6 100755 --- a/t/t9350-fast-export.sh +++ b/t/t9350-fast-export.sh @@ -303,7 +303,7 @@ test_expect_success 'dropping tag of filtered out object' ' ( cd limit-by-paths && git fast-export --tag-of-filtered-object=drop mytag -- there > output && - test_cmp output expected + test_cmp expected output ) ' @@ -320,7 +320,7 @@ test_expect_success 'rewriting tag of filtered out object' ' ( cd limit-by-paths && git fast-export --tag-of-filtered-object=rewrite mytag -- there > output && - test_cmp output expected + test_cmp expected output ) ' @@ -351,7 +351,7 @@ test_expect_failure 'no exact-ref revisions included' ' ( cd limit-by-paths && git fast-export master~2..master~1 > output && - test_cmp output expected + test_cmp expected output ) '