Skip to content

Commit ebf639c

Browse files
authored
Merge pull request #24 from bartlomieju/update_std
Update deno_std to v0.2.8
2 parents 18cd66b + cedba0e commit ebf639c

File tree

9 files changed

+14
-7
lines changed

9 files changed

+14
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: python
22

33
install:
4-
- curl -L https://deno.land/x/install/install.py | python - v0.2.7
4+
- curl -L https://deno.land/x/install/install.py | python - v0.2.11
55
- export PATH="$HOME/.deno/bin:$PATH"
66

77
services:

deps.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export { copyBytes } from "https://deno.land/x/[email protected]/io/util.ts";
2+
3+
export { test, assertEqual, runTests } from "https://deno.land/x/[email protected]/testing/mod.ts";

packet_writer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2626
*/
2727

28-
import { copyBytes } from "https://deno.land/x/[email protected]/io/util.ts";
28+
import { copyBytes } from "./deps.ts";
2929

3030
export class PacketWriter {
3131
private size: number;

test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
import { runTests } from "./deps.ts";
2+
13
import "./tests/queries.ts";
24
import "./tests/connection_params.ts";
35
import "./tests/client.ts";
46
import "./tests/utils.ts";
7+
8+
runTests();

tests/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import { env } from "deno";
2-
import { test, assertEqual } from "https://deno.land/x/[email protected]/testing/mod.ts";
2+
import { test, assertEqual } from "../deps.ts";
33
import { Client } from "../mod.ts";
44

tests/connection_params.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { env } from "deno";
2-
import { test, assertEqual } from "https://deno.land/x/[email protected]/testing/mod.ts";
2+
import { test, assertEqual } from "../deps.ts";
33
import { ConnectionParams } from "../connection_params.ts";
44

55

tests/encode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { test, assertEqual } from "https://deno.land/x/[email protected]/testing/mod.ts";
1+
import { test, assertEqual } from "../deps.ts";
22
import { encode } from "../encode.ts";
33

44
// internally `encode` uses `getTimezoneOffset` to encode Date

tests/queries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { test, assertEqual } from "https://deno.land/x/[email protected]/testing/mod.ts";
1+
import { test, assertEqual } from "../deps.ts";
22
import { Client } from "../mod.ts";
33

44
let testClient: Client;

tests/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { test, assertEqual } from "https://deno.land/x/[email protected]/testing/mod.ts";
1+
import { test, assertEqual } from "../deps.ts";
22
import { parseDsn, DsnResult } from "../utils.ts";
33

44

0 commit comments

Comments
 (0)