Skip to content

Commit 30163e4

Browse files
committed
remove extraneous '.'
1 parent 8058eec commit 30163e4

File tree

8 files changed

+48
-48
lines changed

8 files changed

+48
-48
lines changed

tests/age-parse.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default
77
spec_anchors: ['field.age', 'expiration.model'],
88
tests: [
99
{
10-
name: 'HTTP cache should ignore an `Age` header with a non-numeric value.',
10+
name: 'HTTP cache should ignore an `Age` header with a non-numeric value',
1111
id: 'age-parse-nonnumeric',
1212
depends_on: ['freshness-max-age-age'],
1313
requests: [
@@ -26,7 +26,7 @@ export default
2626
]
2727
},
2828
{
29-
name: 'HTTP cache should ignore an `Age` header with a negative value.',
29+
name: 'HTTP cache should ignore an `Age` header with a negative value',
3030
id: 'age-parse-negative',
3131
depends_on: ['freshness-max-age-age'],
3232
requests: [
@@ -45,7 +45,7 @@ export default
4545
]
4646
},
4747
{
48-
name: 'HTTP cache should ignore an `Age` header with a float value.',
48+
name: 'HTTP cache should ignore an `Age` header with a float value',
4949
id: 'age-parse-float',
5050
depends_on: ['freshness-max-age-age'],
5151
requests: [
@@ -121,7 +121,7 @@ export default
121121
]
122122
},
123123
{
124-
name: 'HTTP cache should consider a response with a single `Age` header line `old, 0` to be stale.',
124+
name: 'HTTP cache should consider a response with a single `Age` header line `old, 0` to be stale',
125125
id: 'age-parse-suffix',
126126
depends_on: ['freshness-max-age-age'],
127127
requests: [
@@ -140,7 +140,7 @@ export default
140140
]
141141
},
142142
{
143-
name: 'HTTP cache should consider a response with a single `Age` header line `0, old` to be fresh.',
143+
name: 'HTTP cache should consider a response with a single `Age` header line `0, old` to be fresh',
144144
id: 'age-parse-prefix',
145145
depends_on: ['freshness-max-age-age'],
146146
requests: [
@@ -179,7 +179,7 @@ export default
179179
]
180180
},
181181
{
182-
name: 'HTTP cache should use the first line in a response with multiple `Age` header lines: `0`, `old`.',
182+
name: 'HTTP cache should use the first line in a response with multiple `Age` header lines: `0`, `old`',
183183
id: 'age-parse-prefix-twoline',
184184
depends_on: ['freshness-max-age-age'],
185185
requests: [

tests/cc-response.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ export default
350350
]
351351
},
352352
{
353-
name: 'A HTTP cache MUST revalidate a stale response with `Cache-Control: immutable`.',
353+
name: 'A HTTP cache MUST revalidate a stale response with `Cache-Control: immutable`',
354354
id: 'cc-resp-immutable-stale',
355355
browser_only: true,
356356
requests: [

tests/conditional-etag.mjs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
spec_anchors: ['validation.model'],
66
tests: [
77
{
8-
name: 'An optimal HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching strong `ETag`.',
8+
name: 'An optimal HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching strong `ETag`',
99
id: 'conditional-etag-strong-respond',
1010
kind: 'optimal',
1111
browser_skip: true,
@@ -28,7 +28,7 @@ export default {
2828
]
2929
},
3030
{
31-
name: 'HTTP cache must include `ETag` in a `304 Not Modified`.',
31+
name: 'HTTP cache must include `ETag` in a `304 Not Modified`',
3232
id: 'conditional-304-etag',
3333
depends_on: ['conditional-etag-strong-respond'],
3434
browser_skip: true,
@@ -107,7 +107,7 @@ export default {
107107
]
108108
},
109109
{
110-
name: 'HTTP cache responds to unquoted `If-None-Match` with a `304` when holding a fresh response with a matching strong `ETag` that is quoted.',
110+
name: 'HTTP cache responds to unquoted `If-None-Match` with a `304` when holding a fresh response with a matching strong `ETag` that is quoted',
111111
id: 'conditional-etag-quoted-respond-unquoted',
112112
kind: 'check',
113113
depends_on: ['conditional-etag-strong-respond'],
@@ -131,7 +131,7 @@ export default {
131131
]
132132
},
133133
{
134-
name: 'HTTP cache responds to unquoted `If-None-Match` with a `304` when holding a fresh response with a matching strong `ETag` that is unquoted.',
134+
name: 'HTTP cache responds to unquoted `If-None-Match` with a `304` when holding a fresh response with a matching strong `ETag` that is unquoted',
135135
id: 'conditional-etag-unquoted-respond-unquoted',
136136
kind: 'check',
137137
depends_on: ['conditional-etag-strong-respond'],
@@ -155,7 +155,7 @@ export default {
155155
]
156156
},
157157
{
158-
name: 'HTTP cache responds to quoted `If-None-Match` with a `304` when holding a fresh response with a matching strong `ETag` that is unquoted.',
158+
name: 'HTTP cache responds to quoted `If-None-Match` with a `304` when holding a fresh response with a matching strong `ETag` that is unquoted',
159159
id: 'conditional-etag-unquoted-respond-quoted',
160160
kind: 'check',
161161
depends_on: ['conditional-etag-strong-respond'],
@@ -179,7 +179,7 @@ export default {
179179
]
180180
},
181181
{
182-
name: 'An optimal HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching weak `ETag`.',
182+
name: 'An optimal HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching weak `ETag`',
183183
id: 'conditional-etag-weak-respond',
184184
kind: 'optimal',
185185
browser_skip: true,
@@ -202,7 +202,7 @@ export default {
202202
]
203203
},
204204
{
205-
name: 'HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching weak `ETag`, and the entity-tag weakness flag is lowercase.',
205+
name: 'HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching weak `ETag`, and the entity-tag weakness flag is lowercase',
206206
id: 'conditional-etag-weak-respond-lowercase',
207207
kind: 'check',
208208
depends_on: ['conditional-etag-weak-respond'],
@@ -226,7 +226,7 @@ export default {
226226
]
227227
},
228228
{
229-
name: 'HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching weak `ETag`, and the entity-tag weakness flag uses `\\` instead of `/`.',
229+
name: 'HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching weak `ETag`, and the entity-tag weakness flag uses `\\` instead of `/`',
230230
id: 'conditional-etag-weak-respond-backslash',
231231
kind: 'check',
232232
depends_on: ['conditional-etag-weak-respond'],
@@ -250,7 +250,7 @@ export default {
250250
]
251251
},
252252
{
253-
name: 'HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching weak `ETag`, and the entity-tag weakness flag omits `/`.',
253+
name: 'HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching weak `ETag`, and the entity-tag weakness flag omits `/`',
254254
id: 'conditional-etag-weak-respond-omit-slash',
255255
depends_on: ['conditional-etag-weak-respond'],
256256
kind: 'check',
@@ -274,7 +274,7 @@ export default {
274274
]
275275
},
276276
{
277-
name: 'An optimal HTTP cache responds to `If-None-Match` with a `304` when it contains multiple entity-tags (first one).',
277+
name: 'An optimal HTTP cache responds to `If-None-Match` with a `304` when it contains multiple entity-tags (first one)',
278278
id: 'conditional-etag-strong-respond-multiple-first',
279279
kind: 'optimal',
280280
depends_on: ['conditional-etag-strong-respond'],
@@ -298,7 +298,7 @@ export default {
298298
]
299299
},
300300
{
301-
name: 'An optimal HTTP cache responds to `If-None-Match` with a `304` when it contains multiple entity-tags (middle one).',
301+
name: 'An optimal HTTP cache responds to `If-None-Match` with a `304` when it contains multiple entity-tags (middle one)',
302302
id: 'conditional-etag-strong-respond-multiple-second',
303303
kind: 'optimal',
304304
depends_on: ['conditional-etag-strong-respond'],
@@ -322,7 +322,7 @@ export default {
322322
]
323323
},
324324
{
325-
name: 'An optimal HTTP cache responds to `If-None-Match` with a `304` when it contains multiple entity-tags (last one).',
325+
name: 'An optimal HTTP cache responds to `If-None-Match` with a `304` when it contains multiple entity-tags (last one)',
326326
id: 'conditional-etag-strong-respond-multiple-last',
327327
kind: 'optimal',
328328
depends_on: ['conditional-etag-strong-respond'],
@@ -403,7 +403,7 @@ export default {
403403
]
404404
},
405405
{
406-
name: 'An optimal HTTP cache generates a `If-None-Match` request when holding a stale response with a matching strong `ETag`.',
406+
name: 'An optimal HTTP cache generates a `If-None-Match` request when holding a stale response with a matching strong `ETag`',
407407
id: 'conditional-etag-strong-generate',
408408
kind: 'optimal',
409409
requests: [
@@ -425,7 +425,7 @@ export default {
425425
]
426426
},
427427
{
428-
name: 'An optimal HTTP cache generates a `If-None-Match` request when holding a stale response with a matching weak `ETag`.',
428+
name: 'An optimal HTTP cache generates a `If-None-Match` request when holding a stale response with a matching weak `ETag`',
429429
id: 'conditional-etag-weak-generate-weak',
430430
kind: 'optimal',
431431
requests: [

tests/conditional-lm.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
spec_anchors: ['validation.model'],
66
tests: [
77
{
8-
name: 'An optimal HTTP cache responds to `If-Modified-Since` with a `304` when holding a fresh response with a matching `Last-Modified`.',
8+
name: 'An optimal HTTP cache responds to `If-Modified-Since` with a `304` when holding a fresh response with a matching `Last-Modified`',
99
id: 'conditional-lm-fresh',
1010
kind: 'optimal',
1111
browser_skip: true,
@@ -30,7 +30,7 @@ export default {
3030
]
3131
},
3232
{
33-
name: 'An optimal HTTP cache responds to `If-Modified-Since` with a `304` when holding a fresh response with an earlier `Last-Modified`.',
33+
name: 'An optimal HTTP cache responds to `If-Modified-Since` with a `304` when holding a fresh response with an earlier `Last-Modified`',
3434
id: 'conditional-lm-fresh-earlier',
3535
kind: 'optimal',
3636
browser_skip: true,
@@ -55,7 +55,7 @@ export default {
5555
]
5656
},
5757
{
58-
name: 'An optimal HTTP cache responds to `If-Modified-Since` with a `304` when holding a stale response with a matching `Last-Modified`, after validation.',
58+
name: 'An optimal HTTP cache responds to `If-Modified-Since` with a `304` when holding a stale response with a matching `Last-Modified`, after validation',
5959
id: 'conditional-lm-stale',
6060
kind: 'optimal',
6161
browser_skip: true,

tests/expires-parse.mjs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default
77
spec_anchors: ['field.expires'],
88
tests: [
99
{
10-
name: 'An optimal HTTP cache reuses a response with an `Expires` that is exactly 32 bits.',
10+
name: 'An optimal HTTP cache reuses a response with an `Expires` that is exactly 32 bits',
1111
id: 'freshness-expires-32bit',
1212
kind: 'optimal',
1313
depends_on: ['freshness-expires-future'],
@@ -26,7 +26,7 @@ export default
2626
]
2727
},
2828
{
29-
name: 'An optimal HTTP cache reuses a response with an `Expires` that is far in the future.',
29+
name: 'An optimal HTTP cache reuses a response with an `Expires` that is far in the future',
3030
id: 'freshness-expires-far-future',
3131
kind: 'optimal',
3232
depends_on: ['freshness-expires-future'],
@@ -45,7 +45,7 @@ export default
4545
]
4646
},
4747
{
48-
name: 'An optimal HTTP cache reuses a response with a future `Expires` in obsolete RFC 850 format.',
48+
name: 'An optimal HTTP cache reuses a response with a future `Expires` in obsolete RFC 850 format',
4949
id: 'freshness-expires-rfc850',
5050
kind: 'optimal',
5151
depends_on: ['freshness-expires-future'],
@@ -64,7 +64,7 @@ export default
6464
]
6565
},
6666
{
67-
name: 'An optimal HTTP cache reuses a response with a future `Expires` in ANSI C\'s asctime() format.',
67+
name: 'An optimal HTTP cache reuses a response with a future `Expires` in ANSI C\'s asctime() format',
6868
id: 'freshness-expires-ansi-c',
6969
kind: 'optimal',
7070
depends_on: ['freshness-expires-future'],
@@ -83,7 +83,7 @@ export default
8383
]
8484
},
8585
{
86-
name: 'An optimal HTTP cache reuses a response with a future `Expires` using wrong case (weekday).',
86+
name: 'An optimal HTTP cache reuses a response with a future `Expires` using wrong case (weekday)',
8787
id: 'freshness-expires-wrong-case-weekday',
8888
kind: 'optimal',
8989
depends_on: ['freshness-expires-future'],
@@ -102,7 +102,7 @@ export default
102102
]
103103
},
104104
{
105-
name: 'An optimal HTTP cache reuses a response with a future `Expires` using wrong case (month).',
105+
name: 'An optimal HTTP cache reuses a response with a future `Expires` using wrong case (month)',
106106
id: 'freshness-expires-wrong-case-month',
107107
kind: 'optimal',
108108
depends_on: ['freshness-expires-future'],
@@ -121,7 +121,7 @@ export default
121121
]
122122
},
123123
{
124-
name: 'An optimal HTTP cache reuses a response with a future `Expires` using wrong case (tz).',
124+
name: 'An optimal HTTP cache reuses a response with a future `Expires` using wrong case (tz)',
125125
id: 'freshness-expires-wrong-case-tz',
126126
kind: 'optimal',
127127
depends_on: ['freshness-expires-future'],
@@ -140,7 +140,7 @@ export default
140140
]
141141
},
142142
{
143-
name: 'HTTP cache must not reuse a response with an invalid `Expires` (UTC).',
143+
name: 'HTTP cache must not reuse a response with an invalid `Expires` (UTC)',
144144
id: 'freshness-expires-invalid-utc',
145145
depends_on: ['freshness-expires-future'],
146146
requests: [
@@ -158,7 +158,7 @@ export default
158158
]
159159
},
160160
{
161-
name: 'HTTP cache must not reuse a response with an invalid `Expires` (other tz).',
161+
name: 'HTTP cache must not reuse a response with an invalid `Expires` (other tz)',
162162
id: 'freshness-expires-invalid-aest',
163163
depends_on: ['freshness-expires-future'],
164164
requests: [
@@ -176,7 +176,7 @@ export default
176176
]
177177
},
178178
{
179-
name: 'HTTP cache must not reuse a response with an invalid `Expires` (two-digit year).',
179+
name: 'HTTP cache must not reuse a response with an invalid `Expires` (two-digit year)',
180180
id: 'freshness-expires-invalid-2-digit-year',
181181
depends_on: ['freshness-expires-future'],
182182
requests: [
@@ -194,7 +194,7 @@ export default
194194
]
195195
},
196196
{
197-
name: 'HTTP cache must not reuse a response with an invalid `Expires` (missing comma).',
197+
name: 'HTTP cache must not reuse a response with an invalid `Expires` (missing comma)',
198198
id: 'freshness-expires-invalid-no-comma',
199199
depends_on: ['freshness-expires-future'],
200200
requests: [
@@ -212,7 +212,7 @@ export default
212212
]
213213
},
214214
{
215-
name: 'HTTP cache must not reuse a response with an invalid `Expires` (multiple spaces).',
215+
name: 'HTTP cache must not reuse a response with an invalid `Expires` (multiple spaces)',
216216
id: 'freshness-expires-invalid-multiple-spaces',
217217
depends_on: ['freshness-expires-future'],
218218
requests: [
@@ -229,7 +229,7 @@ export default
229229
]
230230
},
231231
{
232-
name: 'HTTP cache must not reuse a response with an invalid `Expires` (date dashes).',
232+
name: 'HTTP cache must not reuse a response with an invalid `Expires` (date dashes)',
233233
id: 'freshness-expires-invalid-date-dashes',
234234
depends_on: ['freshness-expires-future'],
235235
requests: [
@@ -246,7 +246,7 @@ export default
246246
]
247247
},
248248
{
249-
name: 'HTTP cache must not reuse a response with an invalid `Expires` (time periods).',
249+
name: 'HTTP cache must not reuse a response with an invalid `Expires` (time periods)',
250250
id: 'freshness-expires-invalid-time-periods',
251251
depends_on: ['freshness-expires-future'],
252252
requests: [
@@ -263,7 +263,7 @@ export default
263263
]
264264
},
265265
{
266-
name: 'HTTP cache must not reuse a response with an invalid `Expires` (1-digit hour).',
266+
name: 'HTTP cache must not reuse a response with an invalid `Expires` (1-digit hour)',
267267
id: 'freshness-expires-invalid-1-digit-hour',
268268
depends_on: ['freshness-expires-future'],
269269
requests: [
@@ -280,7 +280,7 @@ export default
280280
]
281281
},
282282
{
283-
name: 'HTTP cache must not reuse a response with an invalid `Expires` (multiple lines).',
283+
name: 'HTTP cache must not reuse a response with an invalid `Expires` (multiple lines)',
284284
id: 'freshness-expires-invalid-multiple-lines',
285285
depends_on: ['freshness-expires-future'],
286286
requests: [

tests/stale.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as templates from './lib/templates.mjs'
33
function makeStaleCheckCC (cc, sharedOnly, value) {
44
const shared = sharedOnly === true ? 'Shared ' : ''
55
return {
6-
name: `${shared}HTTP cache must not serve stale stored response when prohibited by \`Cache-Control: ${cc}\`.`,
6+
name: `${shared}HTTP cache must not serve stale stored response when prohibited by \`Cache-Control: ${cc}\``,
77
id: `stale-close-${cc}${value || ''}`,
88
browser_skip: sharedOnly,
99
depends_on: ['stale-close'],
@@ -56,7 +56,7 @@ export default {
5656
]
5757
},
5858
{
59-
name: 'An optimal cache serves stale stored response with [`Cache-Control: stale-while-revalidate`](https://httpwg.org/specs/rfc5861.html).',
59+
name: 'An optimal cache serves stale stored response with [`Cache-Control: stale-while-revalidate`](https://httpwg.org/specs/rfc5861.html)',
6060
id: 'stale-while-revalidate',
6161
kind: 'optimal',
6262
requests: [
@@ -74,7 +74,7 @@ export default {
7474
]
7575
},
7676
{
77-
name: 'HTTP cache must not serve stale stored response after the [`stale-while-revalidate`](https://httpwg.org/specs/rfc5861.html) window.',
77+
name: 'HTTP cache must not serve stale stored response after the [`stale-while-revalidate`](https://httpwg.org/specs/rfc5861.html) window',
7878
id: 'stale-while-revalidate-window',
7979
depends_on: ['stale-while-revalidate'],
8080
requests: [

0 commit comments

Comments
 (0)