Skip to content

Commit

Permalink
tell git do not touch line-endings in zend-http-response test files
Browse files Browse the repository at this point in the history
- tests rely on mixed line-endings in raw responses
  • Loading branch information
falkenhawk committed May 20, 2019
1 parent 5f7a2c6 commit fb5389e
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions tests/Zend/Http/_files/.gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
response_chunked eol=crlf
response_chunked_case eol=crlf
response_chunked text=false -crlf
response_chunked_case text=false -crlf
28 changes: 14 additions & 14 deletions tests/Zend/Http/_files/response_chunked
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
HTTP/1.1 200 OK
Date: Sun, 25 Jun 2006 19:55:19 GMT
Server: Apache
X-powered-by: PHP/5.1.4-pl3-gentoo
Connection: close
Transfer-encoding: chunked
Content-type: text/html

1f98
HTTP/1.1 200 OK
Date: Sun, 25 Jun 2006 19:55:19 GMT
Server: Apache
X-powered-by: PHP/5.1.4-pl3-gentoo
Connection: close
Transfer-encoding: chunked
Content-type: text/html
1f98
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
Expand Down Expand Up @@ -120,8 +120,8 @@ Retrieved from "<a href="http://en.wikipedia.org/wiki/Paamayim_Nekudotayim">http
<li id="n-mainpage"><a href="/wiki/Main_Page">Main Page</a></li>

<li id="n-portal"><a href="/wiki/Wikipedia:Community_Portal">Community Portal</a></li>
<li id="n-Featured-articles"><a href="/wiki/Wikipedia:Featured_articles">Featured ar
e78
<li id="n-Featured-articles"><a href="/wiki/Wikipedia:Featured_articles">Featured ar
e78
ticles</a></li>
<li id="n-currentevents"><a href="/wiki/Current_events">Current events</a></li>
<li id="n-recentchanges"><a href="/wiki/Special:Recentchanges">Recent changes</a></li>
Expand Down Expand Up @@ -186,6 +186,6 @@ ticles</a></li>
</div>

</body></html>

0

0
28 changes: 14 additions & 14 deletions tests/Zend/Http/_files/response_chunked_case
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
HTTP/1.1 200 OK
Date: Sun, 25 Jun 2006 19:55:19 GMT
Server: Apache
X-powered-by: PHP/5.1.4-pl3-gentoo
Connection: close
Transfer-encoding: ChunkeD
Content-type: text/html

1f98
HTTP/1.1 200 OK
Date: Sun, 25 Jun 2006 19:55:19 GMT
Server: Apache
X-powered-by: PHP/5.1.4-pl3-gentoo
Connection: close
Transfer-encoding: ChunkeD
Content-type: text/html
1f98
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
Expand Down Expand Up @@ -120,8 +120,8 @@ Retrieved from "<a href="http://en.wikipedia.org/wiki/Paamayim_Nekudotayim">http
<li id="n-mainpage"><a href="/wiki/Main_Page">Main Page</a></li>

<li id="n-portal"><a href="/wiki/Wikipedia:Community_Portal">Community Portal</a></li>
<li id="n-Featured-articles"><a href="/wiki/Wikipedia:Featured_articles">Featured ar
e78
<li id="n-Featured-articles"><a href="/wiki/Wikipedia:Featured_articles">Featured ar
e78
ticles</a></li>
<li id="n-currentevents"><a href="/wiki/Current_events">Current events</a></li>
<li id="n-recentchanges"><a href="/wiki/Special:Recentchanges">Recent changes</a></li>
Expand Down Expand Up @@ -186,6 +186,6 @@ ticles</a></li>
</div>

</body></html>

0

0

0 comments on commit fb5389e

Please sign in to comment.