summaryrefslogtreecommitdiff
path: root/toml/parser_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'toml/parser_test.ts')
-rw-r--r--toml/parser_test.ts22
1 files changed, 21 insertions, 1 deletions
diff --git a/toml/parser_test.ts b/toml/parser_test.ts
index 104428b25..77bf9dc97 100644
--- a/toml/parser_test.ts
+++ b/toml/parser_test.ts
@@ -181,6 +181,20 @@ test({
fn() {
const expected = {
inlinetable: {
+ nile: {
+ also: {
+ malevolant: {
+ creation: {
+ drum: {
+ kit: "Tama"
+ }
+ }
+ }
+ },
+ derek: {
+ roddy: "drummer"
+ }
+ },
name: {
first: "Tom",
last: "Preston-Werner"
@@ -189,10 +203,16 @@ test({
x: 1,
y: 2
},
- animal: {
+ dog: {
type: {
name: "pug"
}
+ },
+ "tosin.abasi": "guitarist",
+ animal: {
+ as: {
+ leaders: "tosin"
+ }
}
}
};