diff --git a/deno.lock b/deno.lock index 378717b..e05ba38 100644 --- a/deno.lock +++ b/deno.lock @@ -46,6 +46,8 @@ "https://deno.land/x/http_utils@1.0.0/method.ts": "fa30381e4b34e8a10bd12c6582d37d550e898998a00cd3888e42a6c45f5ab0f3", "https://deno.land/x/http_utils@1.0.0/request.ts": "ce23c980198b01e24142a4ae5f3a9c25a7c55256e0e4600cf72d3a5139405b63", "https://deno.land/x/http_utils@1.0.0/response.ts": "2c1d1492170ba8ad165149c53127ea5b907b68d3ab2ee1358bf21c1dccff5d06", + "https://deno.land/x/http_utils@1.2.0/deps.ts": "ea68a335c0f6c1bf9fb9db271c453e78fd51d6902614db438b2bae3ab6114552", + "https://deno.land/x/http_utils@1.2.0/list.ts": "eb0820f10b828de9964626546fef15ca82008323633df24e9e362e0bf76ef4f5", "https://deno.land/x/isx@1.0.0/is_string.ts": "268254eab5f8dbc09ee879eb53675813cdc5350207dde436d457cb34462cc857", "https://deno.land/x/isx@1.1.0/is_string.ts": "268254eab5f8dbc09ee879eb53675813cdc5350207dde436d457cb34462cc857", "https://deno.land/x/isx@1.1.1/is_boolean.ts": "711a4baeb0eb146c9013101d6d8bd90297739a787a6f09c5dd834654fa6d3f52", @@ -56,8 +58,10 @@ "https://deno.land/x/isx@1.1.1/iterable/is_not_empty.ts": "7e0417b5d6a2d58cc5a446e0f55b8188504873ede0dbea19c5316ed9e21dad08", "https://deno.land/x/isx@1.1.1/number/is_negative_number.ts": "0f58460eeccc5cd56c4c246322f788a93348506462e411303a1470edeb0813a8", "https://deno.land/x/isx@1.1.1/number/is_non_negative_integer.ts": "ce7b63f40d22bd5575f008f370493e1ce4e5305f59144fb6362a459a2b13ccf1", + "https://deno.land/x/isx@1.3.1/is_null.ts": "02b30255073843d001e715a04382f1d6aebd77ed5506ffbb44bf77b9e20ebf7d", "https://deno.land/x/prelude_js@1.0.0/to_lower_case.ts": "690b71187878b2db46b02e462b89b5acc9cda0fa2a650b296ef9292f061c1f0f", "https://deno.land/x/prelude_js@1.0.0/trim.ts": "9e839053220bee1c5673026ccf4ddba475c3b982b3284b1d6b86e5440821de61", + "https://deno.land/x/prelude_js@1.2.0/trim.ts": "9e839053220bee1c5673026ccf4ddba475c3b982b3284b1d6b86e5440821de61", "https://deno.land/x/range_parser@1.2.0/deps.ts": "b250c816b454f719e84b80d5a64fcc103077d2539aa4c5049777cc0e26ab31e1", "https://deno.land/x/range_parser@1.2.0/mod.ts": "4406fe10eef8b97499b2cfdc71267cd1bf854d1c25be5df7cfefd6e065e4e55f", "https://deno.land/x/range_parser@1.2.0/parse.ts": "bff5f5a5283ad64f8c7635c9a5c02e1a6b316dad7c4d6a73b92415ca7386e8f5", diff --git a/if_match_test.ts b/if_match_test.ts index b2e1b63..6a28bef 100644 --- a/if_match_test.ts +++ b/if_match_test.ts @@ -44,6 +44,8 @@ describe("parse", () => { tag: "*", weak: false, }]], + + [`","`, [{ tag: ",", weak: false }]], ]; table.forEach(([input, expected]) => { @@ -57,7 +59,6 @@ describe("parse", () => { "* a", "*,", `*, ""`, - `","`, `* *`, `**`, `"", *`, diff --git a/preconditions/utils_test.ts b/preconditions/utils_test.ts index 0b78d52..b3021ec 100644 --- a/preconditions/utils_test.ts +++ b/preconditions/utils_test.ts @@ -71,6 +71,7 @@ describe("ifNoneMatch", () => { [`"a", "b", "c"`, `"d"`], [`W/"a", "b", "c"`, `"d"`], [`W/"a", "b", "c"`, `W/"d"`], + [`"abc,def"`, `""`], ]; table.forEach(([filedValue, etag]) => { @@ -83,7 +84,6 @@ describe("ifNoneMatch", () => { ["", ""], [`""`, `"`], [`"`, `""`], - [`"abc,def"`, `""`], ]; table.forEach(([filedValue, etag]) => {