mirror of
https://github.com/json-c/json-c.git
synced 2026-04-07 06:19:07 +08:00
Added test cases for spaced pretty and pretty_tab used together
This commit is contained in:
23
tests/test2Formatted_spaced_pretty.expected
Normal file
23
tests/test2Formatted_spaced_pretty.expected
Normal file
@@ -0,0 +1,23 @@
|
||||
new_obj.to_string()={
|
||||
"glossary": {
|
||||
"title": "example glossary",
|
||||
"GlossDiv": {
|
||||
"title": "S",
|
||||
"GlossList": [
|
||||
{
|
||||
"ID": "SGML",
|
||||
"SortAs": "SGML",
|
||||
"GlossTerm": "Standard Generalized Markup Language",
|
||||
"Acronym": "SGML",
|
||||
"Abbrev": "ISO 8879:1986",
|
||||
"GlossDef": "A meta-markup language, used to create markup languages such as DocBook.",
|
||||
"GlossSeeAlso": [
|
||||
"GML",
|
||||
"XML",
|
||||
"markup"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user