summaryrefslogtreecommitdiff
path: root/path
diff options
context:
space:
mode:
Diffstat (limited to 'path')
-rw-r--r--path/basename_test.ts2
-rw-r--r--path/dirname_test.ts2
-rw-r--r--path/extname_test.ts2
-rw-r--r--path/index.ts4
-rw-r--r--path/isabsolute_test.ts2
-rw-r--r--path/join_test.ts2
-rw-r--r--path/parse_format_test.ts2
-rw-r--r--path/relative_test.ts2
-rw-r--r--path/resolve_test.ts2
-rw-r--r--path/zero_length_strings_test.ts2
10 files changed, 11 insertions, 11 deletions
diff --git a/path/basename_test.ts b/path/basename_test.ts
index 9e051fbcd..a5104106a 100644
--- a/path/basename_test.ts
+++ b/path/basename_test.ts
@@ -2,7 +2,7 @@
// Ported from https://github.com/browserify/path-browserify/
import { test, assertEqual } from "https://deno.land/x/testing/testing.ts";
-import * as path from "./index";
+import * as path from "./index.ts";
test(function basename() {
assertEqual(path.basename(".js", ".js"), "");
diff --git a/path/dirname_test.ts b/path/dirname_test.ts
index 12fa58743..8e92c4498 100644
--- a/path/dirname_test.ts
+++ b/path/dirname_test.ts
@@ -2,7 +2,7 @@
// Ported from https://github.com/browserify/path-browserify/
import { test, assertEqual } from "https://deno.land/x/testing/testing.ts";
-import * as path from "./index";
+import * as path from "./index.ts";
test(function dirname() {
assertEqual(path.posix.dirname("/a/b/"), "/a");
diff --git a/path/extname_test.ts b/path/extname_test.ts
index f9a44a812..c9a4a68f4 100644
--- a/path/extname_test.ts
+++ b/path/extname_test.ts
@@ -2,7 +2,7 @@
// Ported from https://github.com/browserify/path-browserify/
import { test, assertEqual } from "https://deno.land/x/testing/testing.ts";
-import * as path from "./index";
+import * as path from "./index.ts";
const slashRE = /\//g;
diff --git a/path/index.ts b/path/index.ts
index 3b59bffa7..7b62b0b00 100644
--- a/path/index.ts
+++ b/path/index.ts
@@ -11,9 +11,9 @@ import {
CHAR_BACKWARD_SLASH,
CHAR_COLON,
CHAR_QUESTION_MARK
-} from "./constants";
+} from "./constants.ts";
import { cwd, env, platform } from "deno";
-import { FormatInputPathObject, ParsedPath } from "./interface";
+import { FormatInputPathObject, ParsedPath } from "./interface.ts";
function assertPath(path: string) {
if (typeof path !== "string") {
diff --git a/path/isabsolute_test.ts b/path/isabsolute_test.ts
index c338dbc03..38eddd5e8 100644
--- a/path/isabsolute_test.ts
+++ b/path/isabsolute_test.ts
@@ -2,7 +2,7 @@
// Ported from https://github.com/browserify/path-browserify/
import { test, assertEqual } from "https://deno.land/x/testing/testing.ts";
-import * as path from "./index";
+import * as path from "./index.ts";
test(function isAbsolute() {
assertEqual(path.posix.isAbsolute("/home/foo"), true);
diff --git a/path/join_test.ts b/path/join_test.ts
index 70b78c7be..2c98592f5 100644
--- a/path/join_test.ts
+++ b/path/join_test.ts
@@ -1,5 +1,5 @@
import { test, assertEqual } from "https://deno.land/x/testing/testing.ts";
-import * as path from "./index";
+import * as path from "./index.ts";
const backslashRE = /\\/g;
diff --git a/path/parse_format_test.ts b/path/parse_format_test.ts
index b15026975..75c3ff00a 100644
--- a/path/parse_format_test.ts
+++ b/path/parse_format_test.ts
@@ -2,7 +2,7 @@
// Ported from https://github.com/browserify/path-browserify/
import { test, assertEqual } from "https://deno.land/x/testing/testing.ts";
-import * as path from "./index";
+import * as path from "./index.ts";
const winPaths = [
// [path, root]
diff --git a/path/relative_test.ts b/path/relative_test.ts
index 7e77376c6..2e4b455f7 100644
--- a/path/relative_test.ts
+++ b/path/relative_test.ts
@@ -2,7 +2,7 @@
// Ported from https://github.com/browserify/path-browserify/
import { test, assertEqual } from "https://deno.land/x/testing/testing.ts";
-import * as path from "./index";
+import * as path from "./index.ts";
const relativeTests = {
win32:
diff --git a/path/resolve_test.ts b/path/resolve_test.ts
index 1b3d580ed..b734560b9 100644
--- a/path/resolve_test.ts
+++ b/path/resolve_test.ts
@@ -2,7 +2,7 @@
// Ported from https://github.com/browserify/path-browserify/
import { test, assertEqual } from "https://deno.land/x/testing/testing.ts";
-import * as path from "./index";
+import * as path from "./index.ts";
import { cwd } from "deno";
const windowsTests =
diff --git a/path/zero_length_strings_test.ts b/path/zero_length_strings_test.ts
index dec9696d3..8774c51f7 100644
--- a/path/zero_length_strings_test.ts
+++ b/path/zero_length_strings_test.ts
@@ -2,7 +2,7 @@
// Ported from https://github.com/browserify/path-browserify/
import { test, assertEqual } from "https://deno.land/x/testing/testing.ts";
-import * as path from "./index";
+import * as path from "./index.ts";
import { cwd } from "deno";
const pwd = cwd();