From fb5389e74d4225a3fddf2e524cbe997d38532384 Mon Sep 17 00:00:00 2001 From: Maciej Holyszko <14310995+falkenhawk@users.noreply.github.com> Date: Mon, 20 May 2019 16:02:30 +0200 Subject: [PATCH] tell git do not touch line-endings in zend-http-response test files - tests rely on mixed line-endings in raw responses --- tests/Zend/Http/_files/.gitattributes | 4 +-- tests/Zend/Http/_files/response_chunked | 28 ++++++++++---------- tests/Zend/Http/_files/response_chunked_case | 28 ++++++++++---------- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/tests/Zend/Http/_files/.gitattributes b/tests/Zend/Http/_files/.gitattributes index 921b7da60..2f0927644 100644 --- a/tests/Zend/Http/_files/.gitattributes +++ b/tests/Zend/Http/_files/.gitattributes @@ -1,2 +1,2 @@ -response_chunked eol=crlf -response_chunked_case eol=crlf \ No newline at end of file +response_chunked text=false -crlf +response_chunked_case text=false -crlf diff --git a/tests/Zend/Http/_files/response_chunked b/tests/Zend/Http/_files/response_chunked index 5273647cd..d81506cae 100644 --- a/tests/Zend/Http/_files/response_chunked +++ b/tests/Zend/Http/_files/response_chunked @@ -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 @@ -120,8 +120,8 @@ Retrieved from "http
  • Main Page
  • Community Portal
  • -
  • Current events
  • Recent changes
  • @@ -186,6 +186,6 @@ ticles - -0 - + +0 + diff --git a/tests/Zend/Http/_files/response_chunked_case b/tests/Zend/Http/_files/response_chunked_case index 891d0bca6..65240b8ad 100644 --- a/tests/Zend/Http/_files/response_chunked_case +++ b/tests/Zend/Http/_files/response_chunked_case @@ -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 @@ -120,8 +120,8 @@ Retrieved from "http
  • Main Page
  • Community Portal
  • -
  • Current events
  • Recent changes
  • @@ -186,6 +186,6 @@ ticles - -0 - + +0 +