mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
test(yaml): add edge case test for stringify
(#5704)
This commit is contained in:
parent
19675cd695
commit
36817b7985
@ -667,3 +667,7 @@ Oren: Ben-Kiki
|
||||
Deno.test("stringify() handles string", () => {
|
||||
assertEquals(stringify("Hello World"), "Hello World\n");
|
||||
});
|
||||
|
||||
Deno.test("stringify() handles undefined with skipInvalid option", () => {
|
||||
assertEquals(stringify(undefined, { skipInvalid: true }), "");
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user