Skip to content

Commit bd148eb

Browse files
committed
copy/paste error
1 parent 3ca7c41 commit bd148eb

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

tests/draft2019-09/if-then-else.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -224,35 +224,35 @@
224224
"valid": true
225225
}
226226
]
227-
,
228-
{
229-
"description": "if appears at the end when serialized (keyword processing sequence)",
230-
"schema": {
231-
"then": { "const": "yes" },
232-
"else": { "const": "other" },
233-
"if": { "maxLength": 4 }
227+
},
228+
{
229+
"description": "if appears at the end when serialized (keyword processing sequence)",
230+
"schema": {
231+
"then": { "const": "yes" },
232+
"else": { "const": "other" },
233+
"if": { "maxLength": 4 }
234+
},
235+
"tests": [
236+
{
237+
"description": "yes redirects to then and passes",
238+
"data": "yes",
239+
"valid": true
234240
},
235-
"tests": [
236-
{
237-
"description": "yes redirects to then and passes",
238-
"data": "yes",
239-
"valid": true
240-
},
241-
{
242-
"description": "other redirects to else and passes",
243-
"data": "other",
244-
"valid": true
245-
},
246-
{
247-
"description": "no redirects to then and fails",
248-
"data": "no",
249-
"valid": false
250-
},
251-
{
252-
"description": "invalid redirects to else and fails",
253-
"data": "invalid",
254-
"valid": false
255-
}
256-
]
257-
}
241+
{
242+
"description": "other redirects to else and passes",
243+
"data": "other",
244+
"valid": true
245+
},
246+
{
247+
"description": "no redirects to then and fails",
248+
"data": "no",
249+
"valid": false
250+
},
251+
{
252+
"description": "invalid redirects to else and fails",
253+
"data": "invalid",
254+
"valid": false
255+
}
256+
]
257+
}
258258
]

0 commit comments

Comments
 (0)