lune/tests/net/request/codes.luau
2023-02-05 19:13:58 -05:00

6 lines
297 B
Lua

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