diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-08-29 09:12:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-29 10:12:10 +0200 |
commit | d6dc797d155d85bbe8011b2f58c9b66267d557dd (patch) | |
tree | 470136fde6723cd9c7d855777a0266cf3fcb8f49 /cli/tests | |
parent | 84086e7d3274fd46eace4a9131cda9eda1d76907 (diff) |
fix(URL): Add missing part assignment (#7239)
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/unit/url_test.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/unit/url_test.ts b/cli/tests/unit/url_test.ts index e71f07036..bf367df76 100644 --- a/cli/tests/unit/url_test.ts +++ b/cli/tests/unit/url_test.ts @@ -342,6 +342,8 @@ unitTest(function urlBase(): void { assertEquals(new URL("efgh:", "http://foo/a/b?c#d").href, "efgh:"); assertEquals(new URL("efgh:", "file://foo/a/b?c#d").href, "efgh:"); assertEquals(new URL("efgh:", "abcd://foo/a/b?c#d").href, "efgh:"); + + assertEquals(new URL("/foo", "abcd:/").href, "abcd:/foo"); }); unitTest(function urlDriveLetterBase() { |