mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +00:00
fix(std/encoding/toml): Add boolean support to stringify (#6941)
This commit is contained in:
parent
5fc5e7b54a
commit
40ead6cc98
2 changed files with 10 additions and 0 deletions
|
@ -349,6 +349,8 @@ Deno.test({
|
|||
[1, 2],
|
||||
],
|
||||
hosts: ["alpha", "omega"],
|
||||
bool: true,
|
||||
bool2: false,
|
||||
};
|
||||
const expected = `deno = "is"
|
||||
not = "[node]"
|
||||
|
@ -383,6 +385,8 @@ sf5 = NaN
|
|||
sf6 = NaN
|
||||
data = [["gamma","delta"],[1,2]]
|
||||
hosts = ["alpha","omega"]
|
||||
bool = true
|
||||
bool2 = false
|
||||
|
||||
[foo]
|
||||
bar = "deno"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue