Software /
code /
prosody
File
spec/util_poll_spec.lua @ 11877:593b141ba01c
util.dataforms: Coerce number values for boolean fields
Makes more sense than coercing to a string, which would always be
truthy.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 26 Oct 2021 15:15:57 +0200 (2021-10-26) |
parent | 9316:4aa522b9e1c4 |
child | 12400:728d1c1dc7db |
line wrap: on
line source
describe("util.poll", function () it("loads", function () require "util.poll" end); end);