]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Test] Add unit tests for caseless table
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 13 Mar 2026 13:58:33 +0000 (13:58 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 13 Mar 2026 13:58:33 +0000 (13:58 +0000)
commit86a57cc40491cd3530b5db8ad9720780f2749531
tree3b931ad464120e09cb961f942312e84ab3347658
parent6eb3f014bc0972bbb47e99359936827504c87245
[Test] Add unit tests for caseless table

25 tests covering creation, case-insensitive lookup, key case
preservation, assignment, deletion, has_key, iteration via each(),
to_table conversion, multi-value get_all, and edge cases including
long keys, empty keys, and metamethod isolation.
test/lua/unit/caseless_table.lua [new file with mode: 0644]