view spec/util_poll_spec.lua @ 10921:6eb5d2bb11af

util-src: Use the luaL_pushfail API added in Lua 5.4 to highlight all failure conditions Actually just an alias of pushnil, but it does make it more obvious where the failure conditions are, which is good for readability.
author Kim Alvefur <zash@zash.se>
date Sun, 07 Jun 2020 02:25:56 +0200
parents 4aa522b9e1c4
children 728d1c1dc7db
line wrap: on
line source

describe("util.poll", function ()
	it("loads", function ()
		require "util.poll"
	end);
end);