]> git.ipfire.org Git - location/libloc.git/commit
lua: Check if we got returned something on some tests
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 Sep 2024 14:37:22 +0000 (14:37 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 Sep 2024 14:37:22 +0000 (14:37 +0000)
commita0b3172278316e66079aee67c831aba7a1593212
treee65458fa93ff54aa95ddf7759270b87bb087a18c
parentfca2624750d1e4ee9f993093ad243154e2257589
lua: Check if we got returned something on some tests

Since Lua does not know about exceptions, functions usually return nil
instead of some value.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/lua/main.lua