diff options
author | Kim Alvefur <zash@zash.se> | 2023-07-16 18:42:58 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-07-16 18:42:58 +0200 |
commit | e0a423dd292cd52a995c2195f2c1c88a5fe090f5 (patch) | |
tree | 942fb165533c5ae2b8b676277250e06d567e8138 /util/throttle.lua | |
parent | a906513d328a5f2cece050c5936571a185ce5384 (diff) | |
download | prosody-e0a423dd292cd52a995c2195f2c1c88a5fe090f5.tar.gz prosody-e0a423dd292cd52a995c2195f2c1c88a5fe090f5.zip |
util.human.io: Use tail call in test to get correct line numbers
This is probably not guaranteed to work and might vary with Lua version,
but it's good enough for me to get accurate line numbers out of Busted
that don't all point to the test() function.
Diffstat (limited to 'util/throttle.lua')
0 files changed, 0 insertions, 0 deletions