Pledge and unveil redbean's unit tests

This commit is contained in:
Justine Tunney 2022-07-23 05:22:19 -07:00
parent 513a659dd2
commit 31e4b0867b
21 changed files with 44 additions and 6 deletions

View file

@ -13,6 +13,8 @@
-- TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-- PERFORMANCE OF THIS SOFTWARE.
unix.pledge("stdio")
assert(EncodeLua(assert(DecodeJson[[ 0 ]])) == '0' )
assert(EncodeLua(assert(DecodeJson[[ [1] ]])) == '{1}')
assert(EncodeLua(assert(DecodeJson[[ 2.3 ]])) == '2.3')