From: Pat Thoyts Date: Fri, 28 Sep 2012 10:30:56 +0000 (+0100) Subject: t1306: perform file comparisons using text mode for Windows support X-Git-Url: https://repo.or.cz/w/git/dscho.git/commitdiff_plain/52d3a7583a4ef9d6019fbfcb72e9088f93e59756 t1306: perform file comparisons using text mode for Windows support Signed-off-by: Pat Thoyts --- diff --git a/t/t1306-xdg-files.sh b/t/t1306-xdg-files.sh index 8b14ab187c..278fdd51f2 100755 --- a/t/t1306-xdg-files.sh +++ b/t/t1306-xdg-files.sh @@ -15,7 +15,7 @@ test_expect_success 'read config: xdg file exists and ~/.gitconfig doesn'\''t' ' echo " myalias = !echo in_config" >>.config/git/config && echo in_config >expected && git myalias >actual && - test_cmp expected actual + test_cmp_text expected actual ' @@ -25,7 +25,7 @@ test_expect_success 'read config: xdg file exists and ~/.gitconfig exists' ' echo " myalias = !echo in_gitconfig" >>.gitconfig && echo in_gitconfig >expected && git myalias >actual && - test_cmp expected actual + test_cmp_text expected actual '