diff options
| author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2019-10-26 18:04:34 -0700 |
|---|---|---|
| committer | Ry Dahl <ry@tinyclouds.org> | 2019-10-26 21:04:34 -0400 |
| commit | 6869bfa4c63121f60284c7a2e48c5db1ce86f9cc (patch) | |
| tree | 81be58ad8ff516aa86f0325a7516cd85bcbb23fb /cli/tests/subdir | |
| parent | c5fe657dd3e81110f84cdff8ff1b35492de4d1a3 (diff) | |
Support named imports/exports for subset of properties in JSON modules (#3210)
Diffstat (limited to 'cli/tests/subdir')
| -rw-r--r-- | cli/tests/subdir/json_1.json | 5 | ||||
| -rw-r--r-- | cli/tests/subdir/json_2.json | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/subdir/json_1.json b/cli/tests/subdir/json_1.json new file mode 100644 index 000000000..754d16b84 --- /dev/null +++ b/cli/tests/subdir/json_1.json @@ -0,0 +1,5 @@ +{ + "$var": { "a": 123, "b": [1, 2, 3], "c": null }, + "with space": "invalid variable name", + "function": "reserved word" +} diff --git a/cli/tests/subdir/json_2.json b/cli/tests/subdir/json_2.json new file mode 100644 index 000000000..7deb8b173 --- /dev/null +++ b/cli/tests/subdir/json_2.json @@ -0,0 +1 @@ +"just a string" |
