test(yaml): add set type test (#5866)

initial commit
This commit is contained in:
Tim Reichen 2024-08-30 01:35:49 +02:00 committed by GitHub
parent b7efc57d4f
commit a26ce0fb4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -984,6 +984,7 @@ Deno.test("parse() handles unordered set", () => {
? Ken Griffey`), ? Ken Griffey`),
{ "Mark McGwire": null, "Sammy Sosa": null, "Ken Griffey": null }, { "Mark McGwire": null, "Sammy Sosa": null, "Ken Griffey": null },
); );
assertEquals(parse(`--- !!set`), {});
}); });
Deno.test("parse() throws with empty mapping key", () => { Deno.test("parse() throws with empty mapping key", () => {