summaryrefslogtreecommitdiffstats
path: root/lib/e.lua
blob: 738a5192496ece1b1512e40a182226a8185b77dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module(..., package.seeall)

function ebegin(msg)
	io.write(" * "..msg..": ")
end


function eend(status, msg)
	local msg
	if status then
		msg = "ok"
	else
		msg = "failed"
	end
	io.write(msg.."\n")
	return status
end