Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
keroxp authored Feb 14, 2020
1 parent 0952174 commit 5d65f77
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .denov
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.32.0
v0.33.0
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
- name: Run Tests
run: |
export PATH=$HOME/.local/bin:$PATH
deno test -A
make test
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
redis:
docker run -p 6379:6379 -d -t redis:5
docker run -p 6379:6379 -d -t redis:5
test:
deno test -A *_test.ts
5 changes: 2 additions & 3 deletions modules-lock.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"https://deno.land/std": {
"version": "@v0.32.0",
"version": "@v0.33.0",
"modules": [
"/util/async.ts",
"/testing/mod.ts",
"/testing/asserts.ts",
"/io/bufio.ts",
"/fmt/colors.ts"
]
}
}
}
3 changes: 1 addition & 2 deletions modules.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"https://deno.land/std": {
"version": "@v0.32.0",
"version": "@v0.33.0",
"modules": [
"/util/async.ts",
"/testing/mod.ts",
"/testing/asserts.ts",
"/io/bufio.ts",
"/fmt/colors.ts"
Expand Down
3 changes: 1 addition & 2 deletions pipeline_test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { runIfMain, test } from "./vendor/https/deno.land/std/testing/mod.ts";
import { assertEquals } from "./vendor/https/deno.land/std/testing/asserts.ts";
import { connect } from "./redis.ts";
const { test } = Deno;

const addr = {
hostname: "127.0.0.1",
Expand Down Expand Up @@ -99,4 +99,3 @@ test("pipeline in concurrent", async () => {
]);
});

runIfMain(import.meta);
3 changes: 1 addition & 2 deletions pubsub_test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { test } from "./vendor/https/deno.land/std/testing/mod.ts";
import { assertEquals } from "./vendor/https/deno.land/std/testing/asserts.ts";
import { connect } from "./redis.ts";
import { RedisPubSubMessage } from "./pubsub.ts";

const { test } = Deno;
const addr = {
hostname: "127.0.0.1",
port: 6379
Expand Down
8 changes: 2 additions & 6 deletions redis_test.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
import { connect, Redis } from "./redis.ts";
import {
runIfMain,
setFilter,
test
} from "./vendor/https/deno.land/std/testing/mod.ts";
import {
assertEquals,
assertThrowsAsync,
assertArrayContains
} from "./vendor/https/deno.land/std/testing/asserts.ts";
const { test } = Deno;

// can be substituted with env variable
const addr = {
hostname: "127.0.0.1",
Expand Down Expand Up @@ -242,4 +239,3 @@ test(async function testDb1Option() {
});
});

runIfMain(import.meta);
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.32.0/fmt/colors.ts";
export * from "https://deno.land/std@v0.33.0/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.32.0/io/bufio.ts";
export * from "https://deno.land/std@v0.33.0/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.32.0/testing/asserts.ts";
export * from "https://deno.land/std@v0.33.0/testing/asserts.ts";
1 change: 0 additions & 1 deletion vendor/https/deno.land/std/testing/mod.ts

This file was deleted.

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.32.0/util/async.ts";
export * from "https://deno.land/std@v0.33.0/util/async.ts";

0 comments on commit 5d65f77

Please sign in to comment.