Skip to content

Commit 01829d9

Browse files
committed
fixed tests with timestamps. always use GMT.
1 parent f9d5d9c commit 01829d9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

t/static.t

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ GET /foo
5555
--- response_headers
5656
Content-Type: text/css
5757
Content-Length: 6
58-
Last-Modified: Thu, 03 Mar 2011 21:21:59 GMT
58+
Last-Modified: Fri, 04 Mar 2011 05:21:59 GMT
5959
--- response_body
6060
hello
6161
@@ -83,7 +83,7 @@ GET /foo
8383
--- response_headers
8484
Content-Type: text/css
8585
Content-Length: 6
86-
Last-Modified: Thu, 03 Mar 2011 21:21:59 GMT
86+
Last-Modified: Fri, 04 Mar 2011 05:21:59 GMT
8787
--- response_body
8888
hello
8989
@@ -129,7 +129,7 @@ GET /foo
129129
--- response_headers
130130
Content-Type: text/css
131131
Content-Length: 6
132-
Last-Modified: Thu, 03 Mar 2011 21:21:59 GMT
132+
Last-Modified: Fri, 04 Mar 2011 05:21:59 GMT
133133
--- response_body
134134
hello
135135

t/store-max-size.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ hello, world
333333
--- response_body eval
334334
"HTTP/1.1 200 OK\r
335335
Content-Type: text/css\r
336-
Last-Modified: Sat, 17 Jan 1998 11:35:33 GMT\r
336+
Last-Modified: Sat, 17 Jan 1998 19:35:33 GMT\r
337337
X-SRCache-Allow-Ranges: 1\r
338338
\r
339339
hello, world

t/store-skip.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ hello, world
332332
--- response_body eval
333333
"HTTP/1.1 200 OK\r
334334
Content-Type: text/css\r
335-
Last-Modified: Thu, 23 Dec 2010 19:10:03 GMT\r
335+
Last-Modified: Fri, 24 Dec 2010 03:10:03 GMT\r
336336
X-SRCache-Allow-Ranges: 1\r
337337
\r
338338
hello, world
@@ -357,7 +357,7 @@ hello, world
357357
GET /foo.txt
358358
--- response_headers
359359
Accept-Ranges: bytes
360-
Last-Modified: Thu, 23 Dec 2010 19:10:03 GMT
360+
Last-Modified: Fri, 24 Dec 2010 03:10:03 GMT
361361
Content-Length: 13
362362
--- response_body
363363
hello, world

0 commit comments

Comments
 (0)