lune/tests/net/request/codes.luau

7 lines
297 B
Lua
Raw Normal View History

local util = require("./util")
2023-01-21 06:10:19 +00:00
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")