Skip to content

Commit 82b9460

Browse files
committed
fix line break issues for testing
1 parent d0df813 commit 82b9460

7 files changed

Lines changed: 28 additions & 29 deletions

File tree

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/fixtures/output/php/http1/multipart-data.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
'content-type' => 'multipart/form-data; boundary=---011000010111000001101001'
99
));
1010

11-
$request->setBody('-----011000010111000001101001
12-
Content-Disposition: form-data; name="foo"; filename="hello.txt"
13-
Content-Type: text/plain
14-
15-
Hello World
11+
$request->setBody('-----011000010111000001101001
12+
Content-Disposition: form-data; name="foo"; filename="hello.txt"
13+
Content-Type: text/plain
14+
15+
Hello World
1616
-----011000010111000001101001--');
1717

1818
try {

test/fixtures/output/php/http1/multipart-file.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
'content-type' => 'multipart/form-data; boundary=---011000010111000001101001'
99
));
1010

11-
$request->setBody('-----011000010111000001101001
12-
Content-Disposition: form-data; name="foo"; filename="hello.txt"
13-
Content-Type: text/plain
14-
15-
11+
$request->setBody('-----011000010111000001101001
12+
Content-Disposition: form-data; name="foo"; filename="hello.txt"
13+
Content-Type: text/plain
14+
15+
1616
-----011000010111000001101001--');
1717

1818
try {

test/fixtures/output/php/http1/multipart-form-data.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
'content-type' => 'multipart/form-data; boundary=---011000010111000001101001'
99
));
1010

11-
$request->setBody('-----011000010111000001101001
12-
Content-Disposition: form-data; name="foo"
13-
14-
bar
11+
$request->setBody('-----011000010111000001101001
12+
Content-Disposition: form-data; name="foo"
13+
14+
bar
1515
-----011000010111000001101001--');
1616

1717
try {
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
echo '-----011000010111000001101001
2-
Content-Disposition: form-data; name="foo"; filename="hello.txt"
3-
Content-Type: text/plain
4-
5-
Hello World
1+
echo '-----011000010111000001101001
2+
Content-Disposition: form-data; name="foo"; filename="hello.txt"
3+
Content-Type: text/plain
4+
5+
Hello World
66
-----011000010111000001101001--' | \
77
http POST http://mockbin.com/har \
88
content-type:'multipart/form-data; boundary=---011000010111000001101001'
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
echo '-----011000010111000001101001
2-
Content-Disposition: form-data; name="foo"; filename="hello.txt"
3-
Content-Type: text/plain
4-
5-
1+
echo '-----011000010111000001101001
2+
Content-Disposition: form-data; name="foo"; filename="hello.txt"
3+
Content-Type: text/plain
4+
5+
66
-----011000010111000001101001--' | \
77
http POST http://mockbin.com/har \
88
content-type:'multipart/form-data; boundary=---011000010111000001101001'
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
echo '-----011000010111000001101001
2-
Content-Disposition: form-data; name="foo"
3-
4-
bar
1+
echo '-----011000010111000001101001
2+
Content-Disposition: form-data; name="foo"
3+
4+
bar
55
-----011000010111000001101001--' | \
66
http POST http://mockbin.com/har \
77
content-type:'multipart/form-data; boundary=---011000010111000001101001'

0 commit comments

Comments
 (0)