File

spec/json/pass3.json @ 13078:6da83deb8d7f 0.12

util.error: Fix error on conversion of invalid error stanza, fix #1805 Error stanzas should have an <error> element, but if you pass a stanza without one to util.error.from_stanza() it triggers an attempt to index a nil value, which this patch avoids. In the conditional, it should be safe to assume error_tag is non-nil since condition can't have those values then.
author Kim Alvefur <zash@zash.se>
date Wed, 19 Apr 2023 11:32:53 +0200
parent 8236:4878e4159e12
line wrap: on
line source

{
    "JSON Test Pattern pass3": {
        "The outermost value": "must be an object or array.",
        "In this test": "It is an object."
    }
}