diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2020-06-21 11:12:26 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2020-06-21 11:12:26 -0500 |
| commit | 2c293cc0ac6678253c6af8101ba93866785f64c0 (patch) | |
| tree | 04e74630e02fadac0bdcbe15d51975a1fe0197b6 /tests/templates/json | |
| parent | Use lowercase action name (diff) | |
| download | config-file-2c293cc0ac6678253c6af8101ba93866785f64c0.zip | |
WIP for refactoring tests
Diffstat (limited to 'tests/templates/json')
| -rw-r--r-- | tests/templates/json/default.json | 13 | ||||
| -rw-r--r-- | tests/templates/json/glossary.json | 35 | ||||
| -rw-r--r-- | tests/templates/json/invalid.json | 1 |
3 files changed, 49 insertions, 0 deletions
diff --git a/tests/templates/json/default.json b/tests/templates/json/default.json new file mode 100644 index 0000000..83d9b1e --- /dev/null +++ b/tests/templates/json/default.json @@ -0,0 +1,13 @@ +{ + "header_one": { + "number_key": 0 + }, + "header_two": { + "str_key": "string", + "list_key": [ + 1, + 2, + 3 + ] + } +}
\ No newline at end of file diff --git a/tests/templates/json/glossary.json b/tests/templates/json/glossary.json new file mode 100644 index 0000000..189d8a4 --- /dev/null +++ b/tests/templates/json/glossary.json @@ -0,0 +1,35 @@ +{ + "glossary": { + "title": "str_value", + "GlossDiv": { + "title": "5", + "GlossList": { + "GlossEntry": { + "ID": "false", + "SortAs": "SGML", + "GlossTerm": "Standard Generalized Markup Language", + "Acronym": "SGML", + "Abbrev": "ISO 8879:1986", + "GlossDef": { + "para": "A meta-markup language, used to create markup languages such as DocBook.", + "GlossSeeAlso": ["GML", "XML"] + }, + "GlossSee": "5.5" + } + } + }, + "dict": { + "key": "str_value", + "str_number": "5" + }, + "dict_within_dict": { + "str_number": "16", + "another_dict": { + "str_bool": "false", + "list_of_values": [ + "5", "false", "trUe" + ] + } + } + } +}
\ No newline at end of file diff --git a/tests/templates/json/invalid.json b/tests/templates/json/invalid.json new file mode 100644 index 0000000..8e12c39 --- /dev/null +++ b/tests/templates/json/invalid.json @@ -0,0 +1 @@ +{'test': }
\ No newline at end of file |