From 6a783ea179de1321ae7fd0586967476e72984c63 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 1 Jan 2019 22:46:17 -0500 Subject: Add testing module Original: https://github.com/denoland/deno_std/commit/61fdae51a7cc50874b9674c40b1aef3fbf012494 --- path/basename_test.ts | 2 +- path/dirname_test.ts | 2 +- path/extname_test.ts | 2 +- path/isabsolute_test.ts | 2 +- path/join_test.ts | 2 +- path/parse_format_test.ts | 2 +- path/relative_test.ts | 2 +- path/resolve_test.ts | 2 +- path/zero_length_strings_test.ts | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) (limited to 'path') diff --git a/path/basename_test.ts b/path/basename_test.ts index a5104106a..b605aa210 100644 --- a/path/basename_test.ts +++ b/path/basename_test.ts @@ -1,7 +1,7 @@ // Copyright the Browserify authors. MIT License. // Ported from https://github.com/browserify/path-browserify/ -import { test, assertEqual } from "https://deno.land/x/testing/testing.ts"; +import { test, assertEqual } from "../testing/mod.ts"; import * as path from "./index.ts"; test(function basename() { diff --git a/path/dirname_test.ts b/path/dirname_test.ts index 8e92c4498..e535ec891 100644 --- a/path/dirname_test.ts +++ b/path/dirname_test.ts @@ -1,7 +1,7 @@ // Copyright the Browserify authors. MIT License. // Ported from https://github.com/browserify/path-browserify/ -import { test, assertEqual } from "https://deno.land/x/testing/testing.ts"; +import { test, assertEqual } from "../testing/mod.ts"; import * as path from "./index.ts"; test(function dirname() { diff --git a/path/extname_test.ts b/path/extname_test.ts index c9a4a68f4..0d6d283a8 100644 --- a/path/extname_test.ts +++ b/path/extname_test.ts @@ -1,7 +1,7 @@ // Copyright the Browserify authors. MIT License. // Ported from https://github.com/browserify/path-browserify/ -import { test, assertEqual } from "https://deno.land/x/testing/testing.ts"; +import { test, assertEqual } from "../testing/mod.ts"; import * as path from "./index.ts"; const slashRE = /\//g; diff --git a/path/isabsolute_test.ts b/path/isabsolute_test.ts index 38eddd5e8..548819ac0 100644 --- a/path/isabsolute_test.ts +++ b/path/isabsolute_test.ts @@ -1,7 +1,7 @@ // Copyright the Browserify authors. MIT License. // Ported from https://github.com/browserify/path-browserify/ -import { test, assertEqual } from "https://deno.land/x/testing/testing.ts"; +import { test, assertEqual } from "../testing/mod.ts"; import * as path from "./index.ts"; test(function isAbsolute() { diff --git a/path/join_test.ts b/path/join_test.ts index 2c98592f5..25e302eba 100644 --- a/path/join_test.ts +++ b/path/join_test.ts @@ -1,4 +1,4 @@ -import { test, assertEqual } from "https://deno.land/x/testing/testing.ts"; +import { test, assertEqual } from "../testing/mod.ts"; import * as path from "./index.ts"; const backslashRE = /\\/g; diff --git a/path/parse_format_test.ts b/path/parse_format_test.ts index 75c3ff00a..1b5e5908a 100644 --- a/path/parse_format_test.ts +++ b/path/parse_format_test.ts @@ -1,7 +1,7 @@ // Copyright the Browserify authors. MIT License. // Ported from https://github.com/browserify/path-browserify/ -import { test, assertEqual } from "https://deno.land/x/testing/testing.ts"; +import { test, assertEqual } from "../testing/mod.ts"; import * as path from "./index.ts"; const winPaths = [ diff --git a/path/relative_test.ts b/path/relative_test.ts index 2e4b455f7..dcf8fed98 100644 --- a/path/relative_test.ts +++ b/path/relative_test.ts @@ -1,7 +1,7 @@ // Copyright the Browserify authors. MIT License. // Ported from https://github.com/browserify/path-browserify/ -import { test, assertEqual } from "https://deno.land/x/testing/testing.ts"; +import { test, assertEqual } from "../testing/mod.ts"; import * as path from "./index.ts"; const relativeTests = { diff --git a/path/resolve_test.ts b/path/resolve_test.ts index b734560b9..b365d40b0 100644 --- a/path/resolve_test.ts +++ b/path/resolve_test.ts @@ -1,7 +1,7 @@ // Copyright the Browserify authors. MIT License. // Ported from https://github.com/browserify/path-browserify/ -import { test, assertEqual } from "https://deno.land/x/testing/testing.ts"; +import { test, assertEqual } from "../testing/mod.ts"; import * as path from "./index.ts"; import { cwd } from "deno"; diff --git a/path/zero_length_strings_test.ts b/path/zero_length_strings_test.ts index 8774c51f7..f9b357bf1 100644 --- a/path/zero_length_strings_test.ts +++ b/path/zero_length_strings_test.ts @@ -1,7 +1,7 @@ // Copyright the Browserify authors. MIT License. // Ported from https://github.com/browserify/path-browserify/ -import { test, assertEqual } from "https://deno.land/x/testing/testing.ts"; +import { test, assertEqual } from "../testing/mod.ts"; import * as path from "./index.ts"; import { cwd } from "deno"; -- cgit v1.2.3