mirror of
https://github.com/git/git.git
synced 2026-02-10 09:48:09 +00:00
t1306: perform file comparisons using text mode for Windows support
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
This commit is contained in:
@@ -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
|
||||
'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user