lune/src/tests/net/request/codes.luau

7 lines
317 B
Lua
Raw Normal View History

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