Skip to content

Commit

Permalink
bump: deno@v0.28.1 (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and keroxp committed Jan 10, 2020
1 parent 8e8db4f commit cf7b2b4
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .denov
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.27.0
v0.28.1
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": "@v0.27.0",
"version": "@v0.28.1",
"modules": [
"/util/async.ts",
"/testing/mod.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": "@v0.27.0",
"version": "@v0.28.1",
"modules": [
"/util/async.ts",
"/testing/mod.ts",
Expand Down
22 changes: 14 additions & 8 deletions redis_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,23 +140,25 @@ test(async function testZrevrange() {
redis.zadd("zrevrange", 1, "one");
redis.zadd("zrevrange", 2, "two");
redis.zadd("zrevrange", 3, "three");
const v = await redis.zrevrange("zrevrange", 0, 1)
const v = await redis.zrevrange("zrevrange", 0, 1);
assertEquals(v, ["three", "two"]);
});

test(async function testZrevrangeWithScores() {
redis.zadd("zrevrangeWithScores", 1, "one");
redis.zadd("zrevrangeWithScores", 2, "two");
redis.zadd("zrevrangeWithScores", 3, "three");
const v = await redis.zrevrange("zrevrangeWithScores", 0, 1, { withScore: true });
const v = await redis.zrevrange("zrevrangeWithScores", 0, 1, {
withScore: true
});
assertEquals(v, ["three", "3", "two", "2"]);
});

test(async function testZrangebyscore() {
redis.zadd("zrangebyscore", 2, "m1");
redis.zadd("zrangebyscore", 5, "m2");
redis.zadd("zrangebyscore", 8, "m3");
redis.zadd("zrangebyscore", 10, "m4");
redis.zadd("zrangebyscore", 10, "m4");
const v = await redis.zrangebyscore("zrangebyscore", 3, 9);
assertEquals(v, ["m2", "m3"]);
});
Expand All @@ -165,16 +167,18 @@ test(async function testZrangebyscoreWithScores() {
redis.zadd("zrangebyscoreWithScores", 2, "m1");
redis.zadd("zrangebyscoreWithScores", 5, "m2");
redis.zadd("zrangebyscoreWithScores", 8, "m3");
redis.zadd("zrangebyscoreWithScores", 10, "m4");
const v = await redis.zrangebyscore("zrangebyscoreWithScores", 3, 9, { withScore: true });
redis.zadd("zrangebyscoreWithScores", 10, "m4");
const v = await redis.zrangebyscore("zrangebyscoreWithScores", 3, 9, {
withScore: true
});
assertEquals(v, ["m2", "5", "m3", "8"]);
});

test(async function testZrevrangebyscore() {
redis.zadd("zrevrangebyscore", 2, "m1");
redis.zadd("zrevrangebyscore", 5, "m2");
redis.zadd("zrevrangebyscore", 8, "m3");
redis.zadd("zrevrangebyscore", 10, "m4");
redis.zadd("zrevrangebyscore", 10, "m4");
const v = await redis.zrevrangebyscore("zrevrangebyscore", 9, 4);
assertEquals(v, ["m3", "m2"]);
});
Expand All @@ -183,8 +187,10 @@ test(async function testZrevrangebyscore() {
redis.zadd("zrevrangebyscoreWithScores", 2, "m1");
redis.zadd("zrevrangebyscoreWithScores", 5, "m2");
redis.zadd("zrevrangebyscoreWithScores", 8, "m3");
redis.zadd("zrevrangebyscoreWithScores", 10, "m4");
const v = await redis.zrevrangebyscore("zrevrangebyscoreWithScores", 9, 4, { withScore: true });
redis.zadd("zrevrangebyscoreWithScores", 10, "m4");
const v = await redis.zrevrangebyscore("zrevrangebyscoreWithScores", 9, 4, {
withScore: true
});
assertEquals(v, ["m3", "8", "m2", "5"]);
});

Expand Down
2 changes: 1 addition & 1 deletion vendor/https/deno.land/std/fmt/colors.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://deno.land/std@v0.27.0/fmt/colors.ts";
export * from "https://deno.land/std@v0.28.1/fmt/colors.ts";
2 changes: 1 addition & 1 deletion vendor/https/deno.land/std/io/bufio.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://deno.land/std@v0.27.0/io/bufio.ts";
export * from "https://deno.land/std@v0.28.1/io/bufio.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@v0.27.0/testing/asserts.ts";
export * from "https://deno.land/std@v0.28.1/testing/asserts.ts";
2 changes: 1 addition & 1 deletion vendor/https/deno.land/std/testing/mod.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://deno.land/std@v0.27.0/testing/mod.ts";
export * from "https://deno.land/std@v0.28.1/testing/mod.ts";
2 changes: 1 addition & 1 deletion vendor/https/deno.land/std/util/async.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://deno.land/std@v0.27.0/util/async.ts";
export * from "https://deno.land/std@v0.28.1/util/async.ts";

0 comments on commit cf7b2b4

Please sign in to comment.