diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-05-16 01:12:01 +0930 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-05-16 01:12:01 +0930 |
commit | c88eb62e287fa99f78c942ba551f35b13916acdc (patch) | |
tree | 63e3ad43f555dfb6b4fe49abc148363fc1a25601 | |
parent | 891a75e01fb0d419d3f8d4b3cf8c235325708a67 (diff) | |
download | lua-cjson-c88eb62e287fa99f78c942ba551f35b13916acdc.tar.gz lua-cjson-c88eb62e287fa99f78c942ba551f35b13916acdc.tar.bz2 lua-cjson-c88eb62e287fa99f78c942ba551f35b13916acdc.zip |
Remove invalid newlines from JSON examples
-rw-r--r-- | tests/example1.json | 6 | ||||
-rw-r--r-- | tests/example4.json | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/tests/example1.json b/tests/example1.json index 53ec437..42486ce 100644 --- a/tests/example1.json +++ b/tests/example1.json | |||
@@ -7,13 +7,11 @@ | |||
7 | "GlossEntry": { | 7 | "GlossEntry": { |
8 | "ID": "SGML", | 8 | "ID": "SGML", |
9 | "SortAs": "SGML", | 9 | "SortAs": "SGML", |
10 | "GlossTerm": "Standard Generalized Mark | 10 | "GlossTerm": "Standard Generalized Mark up Language", |
11 | up Language", | ||
12 | "Acronym": "SGML", | 11 | "Acronym": "SGML", |
13 | "Abbrev": "ISO 8879:1986", | 12 | "Abbrev": "ISO 8879:1986", |
14 | "GlossDef": { | 13 | "GlossDef": { |
15 | "para": "A meta-markup language, used to create markup | 14 | "para": "A meta-markup language, used to create markup languages such as DocBook.", |
16 | languages such as DocBook.", | ||
17 | "GlossSeeAlso": ["GML", "XML"] | 15 | "GlossSeeAlso": ["GML", "XML"] |
18 | }, | 16 | }, |
19 | "GlossSee": "markup" | 17 | "GlossSee": "markup" |
diff --git a/tests/example4.json b/tests/example4.json index 16335b2..d31a395 100644 --- a/tests/example4.json +++ b/tests/example4.json | |||
@@ -36,8 +36,7 @@ | |||
36 | "redirectionClass": "org.cofax.SqlRedirection", | 36 | "redirectionClass": "org.cofax.SqlRedirection", |
37 | "dataStoreName": "cofax", | 37 | "dataStoreName": "cofax", |
38 | "dataStoreDriver": "com.microsoft.jdbc.sqlserver.SQLServerDriver", | 38 | "dataStoreDriver": "com.microsoft.jdbc.sqlserver.SQLServerDriver", |
39 | "dataStoreUrl": "jdbc:microsoft:sqlserver://LOCALHOST:1433;DatabaseName | 39 | "dataStoreUrl": "jdbc:microsoft:sqlserver://LOCALHOST:1433;DatabaseName=goon", |
40 | =goon", | ||
41 | "dataStoreUser": "sa", | 40 | "dataStoreUser": "sa", |
42 | "dataStorePassword": "dataStoreTestQuery", | 41 | "dataStorePassword": "dataStoreTestQuery", |
43 | "dataStoreTestQuery": "SET NOCOUNT ON;select test='test';", | 42 | "dataStoreTestQuery": "SET NOCOUNT ON;select test='test';", |
@@ -73,8 +72,7 @@ | |||
73 | "dataLogMaxSize": "", | 72 | "dataLogMaxSize": "", |
74 | "removePageCache": "/content/admin/remove?cache=pages&id=", | 73 | "removePageCache": "/content/admin/remove?cache=pages&id=", |
75 | "removeTemplateCache": "/content/admin/remove?cache=templates&id=", | 74 | "removeTemplateCache": "/content/admin/remove?cache=templates&id=", |
76 | "fileTransferFolder": "/usr/local/tomcat/webapps/content/fileTransferFo | 75 | "fileTransferFolder": "/usr/local/tomcat/webapps/content/fileTransferFolder", |
77 | lder", | ||
78 | "lookInContext": 1, | 76 | "lookInContext": 1, |
79 | "adminGroupID": 4, | 77 | "adminGroupID": 4, |
80 | "betaServer": true}}], | 78 | "betaServer": true}}], |