Skip to content

Commit 23c5453

Browse files
committed
Fix tests
1 parent f266610 commit 23c5453

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

library/helpers/safeDecodeURIComponent.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import * as t from "tap";
22
import { safeDecodeURIComponent } from "./safeDecodeURIComponent";
33

44
t.test("it decodes a URI component", async (t) => {
5-
t.equal(decodeURIComponent("%20"), " ");
6-
t.equal(decodeURIComponent("%3A"), ":");
7-
t.equal(decodeURIComponent("%2F"), "/");
8-
t.equal(decodeURIComponent("test%20test"), "test test");
9-
t.equal(decodeURIComponent("test%3Atest"), "test:test");
5+
t.equal(safeDecodeURIComponent("%20"), " ");
6+
t.equal(safeDecodeURIComponent("%3A"), ":");
7+
t.equal(safeDecodeURIComponent("%2F"), "/");
8+
t.equal(safeDecodeURIComponent("test%20test"), "test test");
9+
t.equal(safeDecodeURIComponent("test%3Atest"), "test:test");
1010
});
1111

1212
t.test("it returns undefined for invalid URI components", async (t) => {

0 commit comments

Comments
 (0)