Skip to content

Commit 7c4353e

Browse files
committed
Add array types to src and expCleanSrc for readability
1 parent f406915 commit 7c4353e

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

test/schemas/tests-schema-0.0.1.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,14 @@
210210
},
211211
"src": {
212212
"description": "The MF2 syntax source.",
213-
"type": "string"
213+
"$comment": "Array values should be concatenated into a single string. They are only included to help readability in the test JSON.",
214+
"type": [
215+
"string",
216+
"array"
217+
],
218+
"items": {
219+
"type": "string"
220+
}
214221
},
215222
"params": {
216223
"description": "Parameters to pass in to the formatter for resolving external variables.",
@@ -259,7 +266,14 @@
259266
},
260267
"expCleanSrc": {
261268
"description": "The expected normalized form of `src`, for testing stringifiers.",
262-
"type": "string"
269+
"$comment": "Array values should be concatenated into a single string. They are only included to help readability in the test JSON.",
270+
"type": [
271+
"string",
272+
"array"
273+
],
274+
"items": {
275+
"type": "string"
276+
}
263277
},
264278
"expParts": {
265279
"description": "The expected result of formatting the message to parts.",

0 commit comments

Comments
 (0)