summaryrefslogtreecommitdiff
path: root/std/node/querystring_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/querystring_test.ts')
-rw-r--r--std/node/querystring_test.ts30
1 files changed, 0 insertions, 30 deletions
diff --git a/std/node/querystring_test.ts b/std/node/querystring_test.ts
deleted file mode 100644
index d05a75eab..000000000
--- a/std/node/querystring_test.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
-import { assertEquals } from "../testing/asserts.ts";
-import { parse, stringify } from "./querystring.ts";
-
-Deno.test({
- name: "stringify",
- fn() {
- assertEquals(
- stringify({
- a: "hello",
- b: 5,
- c: true,
- d: ["foo", "bar"],
- }),
- "a=hello&b=5&c=true&d=foo&d=bar",
- );
- },
-});
-
-Deno.test({
- name: "parse",
- fn() {
- assertEquals(parse("a=hello&b=5&c=true&d=foo&d=bar"), {
- a: "hello",
- b: "5",
- c: "true",
- d: ["foo", "bar"],
- });
- },
-});