Skip to content

Commit

Permalink
deps: deno@v1.22.2, deno_std@v0.142.0 (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
uki00a authored Jun 4, 2022
1 parent f85edec commit d3741ee
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .denov
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.22.0
v1.22.2
2 changes: 1 addition & 1 deletion modules-lock.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"https://deno.land/std": {
"version": "@0.140.0",
"version": "@0.142.0",
"modules": [
"/async/deferred.ts",
"/async/delay.ts",
Expand Down
2 changes: 1 addition & 1 deletion modules.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"https://deno.land/std": {
"version": "@0.140.0",
"version": "@0.142.0",
"modules": [
"/async/deferred.ts",
"/async/delay.ts",
Expand Down
2 changes: 2 additions & 0 deletions tests/commands/geo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ export function geoTests(
assertEquals(resp, [
["13.36138933897018433", "38.11555639549629859"],
["15.08726745843887329", "37.50266842333162032"],
// deno-lint-ignore ban-ts-comment
// @ts-expect-error
[],
]);
});
Expand Down
2 changes: 2 additions & 0 deletions tests/commands/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ export function listTests(
});

it("brpoplpush timeout", async () => {
// deno-lint-ignore ban-ts-comment
// @ts-expect-error
assertEquals(await client.brpoplpush("list", "list", 1), []);
});

Expand Down
10 changes: 10 additions & 0 deletions tests/commands/string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,14 @@ export function stringTests(
assertEquals(await client.stralgo("LCS", "KEYS", "a", "b"), "eo");
assertEquals(
await client.stralgo("LCS", "KEYS", "a", "b", { len: true }),
// deno-lint-ignore ban-ts-comment
// @ts-expect-error
2,
);
assertEquals(
await client.stralgo("LCS", "KEYS", "a", "b", { idx: true }),
// deno-lint-ignore ban-ts-comment
// @ts-expect-error
["matches", matches, "len", 2],
);
assertEquals(
Expand All @@ -241,6 +245,8 @@ export function stringTests(
"b",
{ idx: true, withmatchlen: true },
),
// deno-lint-ignore ban-ts-comment
// @ts-expect-error
["matches", matchesWithLen, "len", 2],
);
assertEquals(
Expand All @@ -251,6 +257,8 @@ export function stringTests(
"b",
{ idx: true, minmatchlen: 2 },
),
// deno-lint-ignore ban-ts-comment
// @ts-expect-error
["matches", [], "len", 2],
);
assertEquals(
Expand All @@ -259,6 +267,8 @@ export function stringTests(
);
assertEquals(
await client.stralgo("LCS", "STRINGS", "Hello", "Deno!", { len: true }),
// deno-lint-ignore ban-ts-comment
// @ts-expect-error
2,
);
});
Expand Down
2 changes: 1 addition & 1 deletion vendor/https/deno.land/std/async/deferred.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://deno.land/std@0.140.0/async/deferred.ts";
export * from "https://deno.land/std@0.142.0/async/deferred.ts";
2 changes: 1 addition & 1 deletion vendor/https/deno.land/std/async/delay.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://deno.land/std@0.140.0/async/delay.ts";
export * from "https://deno.land/std@0.142.0/async/delay.ts";
2 changes: 1 addition & 1 deletion vendor/https/deno.land/std/io/buffer.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://deno.land/std@0.140.0/io/buffer.ts";
export * from "https://deno.land/std@0.142.0/io/buffer.ts";
2 changes: 1 addition & 1 deletion vendor/https/deno.land/std/io/util.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://deno.land/std@0.140.0/io/util.ts";
export * from "https://deno.land/std@0.142.0/io/util.ts";
2 changes: 1 addition & 1 deletion vendor/https/deno.land/std/testing/asserts.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://deno.land/std@0.140.0/testing/asserts.ts";
export * from "https://deno.land/std@0.142.0/testing/asserts.ts";
2 changes: 1 addition & 1 deletion vendor/https/deno.land/std/testing/bdd.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://deno.land/std@0.140.0/testing/bdd.ts";
export * from "https://deno.land/std@0.142.0/testing/bdd.ts";

0 comments on commit d3741ee

Please sign in to comment.