Skip to content

Commit e15875f

Browse files
committed
Fix indentation.
1 parent 664a8fa commit e15875f

File tree

1 file changed

+43
-43
lines changed

1 file changed

+43
-43
lines changed

tests/expand-manifest.jsonld

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -944,55 +944,55 @@
944944
"input": "expand/c013-in.jsonld",
945945
"expect": "expand/c013-out.jsonld",
946946
"option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
947-
}, {
947+
}, {
948948
"@id": "#tc014",
949949
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
950950
"name": "type-scoped context nullification",
951951
"purpose": "type-scoped context nullification",
952952
"input": "expand/c014-in.jsonld",
953953
"expect": "expand/c014-out.jsonld",
954954
"option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
955-
}, {
955+
}, {
956956
"@id": "#tc015",
957957
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
958958
"name": "type-scoped base",
959959
"purpose": "type-scoped base",
960960
"input": "expand/c015-in.jsonld",
961961
"expect": "expand/c015-out.jsonld",
962962
"option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
963-
}, {
963+
}, {
964964
"@id": "#tc016",
965965
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
966966
"name": "type-scoped vocab",
967967
"purpose": "type-scoped vocab",
968968
"input": "expand/c016-in.jsonld",
969969
"expect": "expand/c016-out.jsonld",
970970
"option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
971-
}, {
971+
}, {
972972
"@id": "#tc017",
973973
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
974974
"name": "multiple type-scoped contexts are properly reverted",
975975
"purpose": "multiple type-scoped contexts are property reverted",
976976
"input": "expand/c017-in.jsonld",
977977
"expect": "expand/c017-out.jsonld",
978978
"option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
979-
}, {
979+
}, {
980980
"@id": "#tc018",
981981
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
982982
"name": "multiple type-scoped types resolved against previous context",
983983
"purpose": "multiple type-scoped types resolved against previous context",
984984
"input": "expand/c018-in.jsonld",
985985
"expect": "expand/c018-out.jsonld",
986986
"option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
987-
}, {
987+
}, {
988988
"@id": "#tc019",
989989
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
990990
"name": "type-scoped context with multiple property scoped terms",
991991
"purpose": "type-scoped context with multiple property scoped terms",
992992
"input": "expand/c019-in.jsonld",
993993
"expect": "expand/c019-out.jsonld",
994994
"option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
995-
}, {
995+
}, {
996996
"@id": "#te001",
997997
"@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ],
998998
"name": "Keywords cannot be aliased to other keywords",
@@ -1315,7 +1315,7 @@
13151315
"input": "expand/ec01-in.jsonld",
13161316
"expect": "invalid term definition",
13171317
"option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
1318-
}, {
1318+
}, {
13191319
"@id": "#tem01",
13201320
"@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ],
13211321
"name": "Invalid container mapping",
@@ -1818,7 +1818,7 @@
18181818
"input": "expand/m016-in.jsonld",
18191819
"expect": "expand/m016-out.jsonld",
18201820
"option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}
1821-
}, {
1821+
}, {
18221822
"@id": "#tn001",
18231823
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
18241824
"name": "Expands input using @nest",
@@ -1994,271 +1994,271 @@
19941994
"option": {"specVersion": "json-ld-1.1"},
19951995
"input": "expand/pi11-in.jsonld",
19961996
"expect": "expand/pi11-out.jsonld"
1997-
}, {
1997+
}, {
19981998
"@id": "#tl001",
19991999
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
20002000
"name": "Language map with null value",
20012001
"purpose": "A language map may have a null value, which is ignored",
20022002
"option": {"specVersion": "json-ld-1.1"},
20032003
"input": "expand/l001-in.jsonld",
20042004
"expect": "expand/l001-out.jsonld"
2005-
}, {
2005+
}, {
20062006
"@id": "#tli01",
20072007
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
20082008
"name": "@list containing @list",
20092009
"purpose": "List of lists",
20102010
"option": {"specVersion": "json-ld-1.1"},
20112011
"input": "expand/li01-in.jsonld",
20122012
"expect": "expand/li01-out.jsonld"
2013-
}, {
2013+
}, {
20142014
"@id": "#tli02",
20152015
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
20162016
"name": "@list containing empty @list",
20172017
"purpose": "List of lists",
20182018
"option": {"specVersion": "json-ld-1.1"},
20192019
"input": "expand/li02-in.jsonld",
20202020
"expect": "expand/li02-out.jsonld"
2021-
}, {
2021+
}, {
20222022
"@id": "#tli03",
20232023
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
20242024
"name": "@list containing @list (with coercion)",
20252025
"purpose": "List of lists",
20262026
"option": {"specVersion": "json-ld-1.1"},
20272027
"input": "expand/li03-in.jsonld",
20282028
"expect": "expand/li03-out.jsonld"
2029-
}, {
2029+
}, {
20302030
"@id": "#tli04",
20312031
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
20322032
"name": "@list containing empty @list (with coercion)",
20332033
"purpose": "List of lists",
20342034
"option": {"specVersion": "json-ld-1.1"},
20352035
"input": "expand/li04-in.jsonld",
20362036
"expect": "expand/li04-out.jsonld"
2037-
}, {
2037+
}, {
20382038
"@id": "#tli05",
20392039
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
20402040
"name": "coerced @list containing an array",
20412041
"purpose": "List of lists",
20422042
"option": {"specVersion": "json-ld-1.1"},
20432043
"input": "expand/li05-in.jsonld",
20442044
"expect": "expand/li05-out.jsonld"
2045-
}, {
2045+
}, {
20462046
"@id": "#tli06",
20472047
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
20482048
"name": "coerced @list containing an empty array",
20492049
"purpose": "List of lists",
20502050
"option": {"specVersion": "json-ld-1.1"},
20512051
"input": "expand/li06-in.jsonld",
20522052
"expect": "expand/li06-out.jsonld"
2053-
}, {
2053+
}, {
20542054
"@id": "#tli07",
20552055
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
20562056
"name": "coerced @list containing deep arrays",
20572057
"purpose": "List of lists",
20582058
"option": {"specVersion": "json-ld-1.1"},
20592059
"input": "expand/li07-in.jsonld",
20602060
"expect": "expand/li07-out.jsonld"
2061-
}, {
2061+
}, {
20622062
"@id": "#tli08",
20632063
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
20642064
"name": "coerced @list containing deep empty arrays",
20652065
"purpose": "List of lists",
20662066
"option": {"specVersion": "json-ld-1.1"},
20672067
"input": "expand/li08-in.jsonld",
20682068
"expect": "expand/li08-out.jsonld"
2069-
}, {
2069+
}, {
20702070
"@id": "#tli09",
20712071
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
20722072
"name": "coerced @list containing multiple lists",
20732073
"purpose": "List of lists",
20742074
"option": {"specVersion": "json-ld-1.1"},
20752075
"input": "expand/li09-in.jsonld",
20762076
"expect": "expand/li09-out.jsonld"
2077-
}, {
2077+
}, {
20782078
"@id": "#tli10",
20792079
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
20802080
"name": "coerced @list containing mixed list values",
20812081
"purpose": "List of lists",
20822082
"option": {"specVersion": "json-ld-1.1"},
20832083
"input": "expand/li10-in.jsonld",
20842084
"expect": "expand/li10-out.jsonld"
2085-
}, {
2085+
}, {
20862086
"@id": "#tpr01",
20872087
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
20882088
"name": "Protect a term",
20892089
"purpose": "Check error when overriding a protected term.",
20902090
"option": {"specVersion": "json-ld-1.1"},
20912091
"input": "expand/pr01-in.jsonld",
20922092
"expect": "protected term redefinition"
2093-
}, {
2093+
}, {
20942094
"@id": "#tpr02",
20952095
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
20962096
"name": "Set a term to not be protected",
20972097
"purpose": "A term with @protected: false is not protected.",
20982098
"option": {"specVersion": "json-ld-1.1"},
20992099
"input": "expand/pr02-in.jsonld",
21002100
"expect": "expand/pr02-out.jsonld"
2101-
}, {
2101+
}, {
21022102
"@id": "#tpr03",
21032103
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
21042104
"name": "Protect all terms in context",
21052105
"purpose": "A protected context protects all term definitions.",
21062106
"option": {"specVersion": "json-ld-1.1"},
21072107
"input": "expand/pr03-in.jsonld",
21082108
"expect": "protected term redefinition"
2109-
}, {
2109+
}, {
21102110
"@id": "#tpr04",
21112111
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
21122112
"name": "Do not protect term with @protected: false",
21132113
"purpose": "A protected context does not protect terms with @protected: false.",
21142114
"option": {"specVersion": "json-ld-1.1"},
21152115
"input": "expand/pr04-in.jsonld",
21162116
"expect": "protected term redefinition"
2117-
}, {
2117+
}, {
21182118
"@id": "#tpr05",
21192119
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
21202120
"name": "Clear active context with protected terms from an embedded context",
21212121
"purpose": "The Active context be set to null from an embedded context.",
21222122
"option": {"specVersion": "json-ld-1.1"},
21232123
"input": "expand/pr05-in.jsonld",
21242124
"expect": "invalid context nullification"
2125-
}, {
2125+
}, {
21262126
"@id": "#tpr06",
21272127
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
21282128
"name": "Clear active context of protected terms from a term.",
21292129
"purpose": "The Active context may be set to null from a scoped context of a term.",
21302130
"option": {"specVersion": "json-ld-1.1"},
21312131
"input": "expand/pr06-in.jsonld",
21322132
"expect": "expand/pr06-out.jsonld"
2133-
}, {
2133+
}, {
21342134
"@id": "#tpr08",
21352135
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
21362136
"name": "Term with protected scoped context.",
21372137
"purpose": "A scoped context can protect terms.",
21382138
"option": {"specVersion": "json-ld-1.1"},
21392139
"input": "expand/pr08-in.jsonld",
21402140
"expect": "protected term redefinition"
2141-
}, {
2141+
}, {
21422142
"@id": "#tpr09",
21432143
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
21442144
"name": "Attempt to redefine term in other protected context.",
21452145
"purpose": "A protected term cannot redefine another protected term.",
21462146
"option": {"specVersion": "json-ld-1.1"},
21472147
"input": "expand/pr09-in.jsonld",
21482148
"expect": "protected term redefinition"
2149-
}, {
2149+
}, {
21502150
"@id": "#tpr10",
21512151
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
21522152
"name": "Simple protected and unprotected terms.",
21532153
"purpose": "Simple protected and unprotected terms.",
21542154
"option": {"specVersion": "json-ld-1.1"},
21552155
"input": "expand/pr10-in.jsonld",
21562156
"expect": "expand/pr10-out.jsonld"
2157-
}, {
2157+
}, {
21582158
"@id": "#tpr11",
21592159
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
21602160
"name": "Fail to override protected term.",
21612161
"purpose": "Fail to override protected term.",
21622162
"option": {"specVersion": "json-ld-1.1"},
21632163
"input": "expand/pr11-in.jsonld",
21642164
"expect": "protected term redefinition"
2165-
}, {
2165+
}, {
21662166
"@id": "#tpr12",
21672167
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
21682168
"name": "Scoped context fail to override protected term.",
21692169
"purpose": "Scoped context fail to override protected term.",
21702170
"option": {"specVersion": "json-ld-1.1"},
21712171
"input": "expand/pr12-in.jsonld",
21722172
"expect": "protected term redefinition"
2173-
}, {
2173+
}, {
21742174
"@id": "#tpr13",
21752175
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
21762176
"name": "Override unprotected term.",
21772177
"purpose": "Override unprotected term.",
21782178
"option": {"specVersion": "json-ld-1.1"},
21792179
"input": "expand/pr13-in.jsonld",
21802180
"expect": "expand/pr13-out.jsonld"
2181-
}, {
2181+
}, {
21822182
"@id": "#tpr14",
21832183
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
21842184
"name": "Clear protection with null context.",
21852185
"purpose": "Clear protection with null context.",
21862186
"option": {"specVersion": "json-ld-1.1"},
21872187
"input": "expand/pr14-in.jsonld",
21882188
"expect": "expand/pr14-out.jsonld"
2189-
}, {
2189+
}, {
21902190
"@id": "#tpr15",
21912191
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
21922192
"name": "Clear protection with array with null context",
21932193
"purpose": "Clear protection with array with null context",
21942194
"option": {"specVersion": "json-ld-1.1"},
21952195
"input": "expand/pr15-in.jsonld",
21962196
"expect": "expand/pr15-out.jsonld"
2197-
}, {
2197+
}, {
21982198
"@id": "#tpr16",
21992199
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
22002200
"name": "Override protected terms after null.",
22012201
"purpose": "Override protected terms after null.",
22022202
"option": {"specVersion": "json-ld-1.1"},
22032203
"input": "expand/pr16-in.jsonld",
22042204
"expect": "expand/pr16-out.jsonld"
2205-
}, {
2205+
}, {
22062206
"@id": "#tpr17",
22072207
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
22082208
"name": "Fail to override protected terms with type.",
22092209
"purpose": "Fail to override protected terms with type.",
22102210
"option": {"specVersion": "json-ld-1.1"},
22112211
"input": "expand/pr17-in.jsonld",
22122212
"expect": "invalid context nullification"
2213-
}, {
2213+
}, {
22142214
"@id": "#tpr18",
22152215
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
22162216
"name": "Fail to override protected terms with type+null+ctx.",
22172217
"purpose": "Fail to override protected terms with type+null+ctx.",
22182218
"option": {"specVersion": "json-ld-1.1"},
22192219
"input": "expand/pr18-in.jsonld",
22202220
"expect": "invalid context nullification"
2221-
}, {
2221+
}, {
22222222
"@id": "#tpr19",
22232223
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
22242224
"name": "Mix of protected and unprotected terms.",
22252225
"purpose": "Mix of protected and unprotected terms.",
22262226
"option": {"specVersion": "json-ld-1.1"},
22272227
"input": "expand/pr19-in.jsonld",
22282228
"expect": "expand/pr19-out.jsonld"
2229-
}, {
2229+
}, {
22302230
"@id": "#tpr20",
22312231
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
22322232
"name": "Fail with mix of protected and unprotected terms with type+null+ctx.",
22332233
"purpose": "Fail with mix of protected and unprotected terms with type+null+ctx.",
22342234
"option": {"specVersion": "json-ld-1.1"},
22352235
"input": "expand/pr20-in.jsonld",
22362236
"expect": "invalid context nullification"
2237-
}, {
2237+
}, {
22382238
"@id": "#tpr21",
22392239
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
22402240
"name": "Fail with mix of protected and unprotected terms with type+null.",
22412241
"purpose": "Fail with mix of protected and unprotected terms with type+null.",
22422242
"option": {"specVersion": "json-ld-1.1"},
22432243
"input": "expand/pr21-in.jsonld",
22442244
"expect": "invalid context nullification"
2245-
}, {
2245+
}, {
22462246
"@id": "#tpr22",
22472247
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
22482248
"name": "Check legal overriding of type-scoped protected term from nested node.",
22492249
"purpose": "Check legal overriding of type-scoped protected term from nested node.",
22502250
"option": {"specVersion": "json-ld-1.1"},
22512251
"input": "expand/pr22-in.jsonld",
22522252
"expect": "expand/pr22-out.jsonld"
2253-
}, {
2253+
}, {
22542254
"@id": "#ttn01",
22552255
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
22562256
"name": "@type: @none is illegal in 1.0.",
22572257
"purpose": "@type: @none is illegal in json-ld-1.0.",
22582258
"option": {"specVersion": "json-ld-1.1"},
22592259
"input": "expand/tn01-in.jsonld",
22602260
"expect": "invalid type mapping"
2261-
}, {
2261+
}, {
22622262
"@id": "#ttn02",
22632263
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
22642264
"name": "@type: @none expands strings as value objects",

0 commit comments

Comments
 (0)