@@ -12,7 +12,7 @@ test_expect_success \
12
12
echo http://example.com/foo\&bar >expect &&
13
13
git config browser.custom.cmd echo &&
14
14
git web--browse --browser=custom \
15
- http://example.com/foo\&bar >actual &&
15
+ http://example.com/foo\&bar | tr -d "\r" >actual &&
16
16
test_cmp expect actual
17
17
'
18
18
@@ -21,7 +21,7 @@ test_expect_success \
21
21
echo http://example.com/foo\;bar >expect &&
22
22
git config browser.custom.cmd echo &&
23
23
git web--browse --browser=custom \
24
- http://example.com/foo\;bar >actual &&
24
+ http://example.com/foo\;bar | tr -d "\r" >actual &&
25
25
test_cmp expect actual
26
26
'
27
27
@@ -30,7 +30,7 @@ test_expect_success \
30
30
echo http://example.com/foo#bar >expect &&
31
31
git config browser.custom.cmd echo &&
32
32
git web--browse --browser=custom \
33
- http://example.com/foo#bar >actual &&
33
+ http://example.com/foo#bar | tr -d "\r" >actual &&
34
34
test_cmp expect actual
35
35
'
36
36
@@ -44,7 +44,7 @@ test_expect_success \
44
44
chmod +x "fake browser" &&
45
45
git config browser.w3m.path "`pwd`/fake browser" &&
46
46
git web--browse --browser=w3m \
47
- http://example.com/foo >actual &&
47
+ http://example.com/foo | tr -d "\r" >actual &&
48
48
test_cmp expect actual
49
49
'
50
50
@@ -59,7 +59,7 @@ test_expect_success \
59
59
}
60
60
f" &&
61
61
git web--browse --browser=custom \
62
- http://example.com/foo >actual &&
62
+ http://example.com/foo | tr -d "\r" >actual &&
63
63
test_cmp expect actual
64
64
'
65
65
0 commit comments