mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-07-08 01:31:00 +08:00
Update img_verify
This commit is contained in:
11
server/SortableURLSearchParams_test.ts
Normal file
11
server/SortableURLSearchParams_test.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { assertEquals } from "std/assert/mod.ts";
|
||||
import { SortableURLSearchParams } from "./SortableURLSearchParams.ts";
|
||||
|
||||
Deno.test("SortableURLSearchParams_test", () => {
|
||||
const s = new SortableURLSearchParams(undefined, ["dad"]);
|
||||
s.append("a", "1");
|
||||
s.append("d", "3");
|
||||
s.append("b", "4");
|
||||
s.append("dad", "4");
|
||||
assertEquals(s.toString(), "a=1&b=4&d=3");
|
||||
});
|
||||
Reference in New Issue
Block a user