[PATCH v5 13/15] fast-export: fix comparison in tests
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Nov 11, 2012, 13:59 UTC
- Message-ID
- <1352642392-28387-14-git-send-email-felipe.contreras@gmail.com>
- In-Reply-To
- <1352642392-28387-1-git-send-email-felipe.contreras@gmail.com>
First the expected, then the actual, otherwise the diff would be the opposite of what we want.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> --- t/t9350-fast-export.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/t/t9350-fast-export.sh b/t/t9350-fast-export.sh index 0c8d828..b7d3009 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 ) '
-- 1.8.0