mirror of
https://github.com/denoland/deno.git
synced 2024-12-01 16:51:13 -05:00
tests: remove redundant type assertion (#11794)
This commit is contained in:
parent
6f63d739ab
commit
4c1e56b2f0
1 changed files with 1 additions and 2 deletions
|
@ -102,8 +102,7 @@ unitTest(function urlSearchParamsInitRecord() {
|
||||||
unitTest(function urlSearchParamsInit() {
|
unitTest(function urlSearchParamsInit() {
|
||||||
const params1 = new URLSearchParams("a=b");
|
const params1 = new URLSearchParams("a=b");
|
||||||
assertEquals(params1.toString(), "a=b");
|
assertEquals(params1.toString(), "a=b");
|
||||||
// deno-lint-ignore no-explicit-any
|
const params2 = new URLSearchParams(params1);
|
||||||
const params2 = new URLSearchParams(params1 as any);
|
|
||||||
assertEquals(params2.toString(), "a=b");
|
assertEquals(params2.toString(), "a=b");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue