From 2d2e09bcc2fc9aa062b91cc126c83f4c36d157d6 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Thu, 29 Aug 2024 10:21:30 +1000 Subject: [PATCH] tweak --- dotenv/stringify_test.ts | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/dotenv/stringify_test.ts b/dotenv/stringify_test.ts index 18eaefdeb1aa..a472e5250c60 100644 --- a/dotenv/stringify_test.ts +++ b/dotenv/stringify_test.ts @@ -2,7 +2,6 @@ import { assertEquals } from "@std/assert"; import { stringify } from "./stringify.ts"; -import { parse } from "./parse.ts"; Deno.test("stringify()", async (t) => { await t.step( @@ -79,12 +78,9 @@ Deno.test("stringify()", async (t) => { `NULL=`, ), ); - await t.step( - "parse", - () => - assertEquals( - parse(stringify({ PARSE: "par'se" })), - { PARSE: "par'se" }, - ), - ); + await t.step("handles single-quote characters", () => + assertEquals( + stringify({ PARSE: "par'se" }), + `PARSE="par'se"`, + )); });