Skip to main content
Latest
File
import { assertEquals } from "https://deno.land/std@0.157.0/testing/asserts.ts";
import deserialize from "./index.ts";import { NestedIntegerToJSON } from "./NestedInteger.ts";
Deno.test("mini-parser", () => { assertEquals(324, NestedIntegerToJSON(deserialize("324"))); assertEquals( [123, [456, [789]]], NestedIntegerToJSON(deserialize("[123,[456,[789]]]")), );});