lune/tests/net/request/codes.luau
2023-05-24 11:25:14 +02:00

6 lines
303 B
Text

local util = require("./util")
local pass, fail = util.pass, util.fail
pass("GET", "https://httpbingo.org/status/200", "Request status code - 200")
fail("GET", "https://httpbingo.org/status/400", "Request status code - 400")
fail("GET", "https://httpbingo.org/status/500", "Request status code - 500")