diff options
| author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2019-01-07 07:39:36 -0800 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-07 10:39:36 -0500 |
| commit | 3dd70d411ae79523c6a1bc337c33bc2224623521 (patch) | |
| tree | b86566b263ad7c493e408730afc14724baf42c0b /path/parse_format_test.ts | |
| parent | 7907bfc4c91f5287237d87571d1933db4ae7a4fa (diff) | |
path: remove export = module (denoland/deno_std#95)
Original: https://github.com/denoland/deno_std/commit/a0b5aec82397bf76d3e8348194536c2596292e65
Diffstat (limited to 'path/parse_format_test.ts')
| -rw-r--r-- | path/parse_format_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/path/parse_format_test.ts b/path/parse_format_test.ts index 1b5e5908a..be98f8739 100644 --- a/path/parse_format_test.ts +++ b/path/parse_format_test.ts @@ -161,7 +161,7 @@ function checkFormat(path, testCases) { test(function parseTrailingWin32() { windowsTrailingTests.forEach(function(p) { - const actual = path.win32.parse(p[0]); + const actual = path.win32.parse(p[0] as string); const expected = p[1]; assertEqual(actual, expected); }); @@ -169,7 +169,7 @@ test(function parseTrailingWin32() { test(function parseTrailing() { posixTrailingTests.forEach(function(p) { - const actual = path.posix.parse(p[0]); + const actual = path.posix.parse(p[0] as string); const expected = p[1]; assertEqual(actual, expected); }); |
