Repository navigation
Commit b56bc70
committed
test(api): cover untyped nodes that only declare additionalProperties
An untyped node with structural additionalProperties is inferred as an
object, like one with properties. The test now refuses a scalar there and
a mistyped map value, with a valid map as the control, so dropping that
branch of the inference fails it.
Assisted-by: LLM
Signed-off-by: Mattia Eleuteri <[email protected]>1 parent 18f95b3 commit b56bc70
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
| 334 | + | |
334 | 335 | | |
335 | 336 | | |
336 | 337 | | |
| |||
340 | 341 | | |
341 | 342 | | |
342 | 343 | | |
343 | | - | |
| 344 | + | |
344 | 345 | | |
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
348 | 349 | | |
349 | 350 | | |
350 | 351 | | |
| 352 | + | |
351 | 353 | | |
352 | 354 | | |
353 | 355 | | |
| |||
0 commit comments