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 <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Felipe Contreras committed
Nov 28, 2012 at 23:11 UTC
9ff10fc86989940eb2c016511c293bc0ac50e6f6
1 file changed
+3
-3
t/t9350-fast-export.sh
+3
-3
@@ -303,7 +303,7 @@ test_expect_success 'dropping tag of filtered out object' '
303
(
304
cd limit-by-paths &&
305
git fast-export --tag-of-filtered-object=drop mytag -- there > output &&
306
- test_cmp output expected
306
+ test_cmp expected output
307
)
308
'
309
@@ -320,7 +320,7 @@ test_expect_success 'rewriting tag of filtered out object' '
320
(
321
cd limit-by-paths &&
322
git fast-export --tag-of-filtered-object=rewrite mytag -- there > output &&
323
- test_cmp output expected
323
+ test_cmp expected output
324
)
325
'
326
@@ -351,7 +351,7 @@ test_expect_failure 'no exact-ref revisions included' '
351
(
352
cd limit-by-paths &&
353
git fast-export master~2..master~1 > output &&
354
- test_cmp output expected
354
+ test_cmp expected output
355
)
356
'
357