Software /
code /
prosody
File
teal-src/util/jid.d.tl @ 12701:8e402a2ae1b8
util.jwt: Overhaul of tests to use declarative approach
Now we can consistently apply the same tests to every algorithm, instead of
duplicating code.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 02 Jul 2022 14:22:20 +0100 |
parent | 11432:113f3912c7cb |
line wrap: on
line source
local record lib split : function (string) : string, string, string bare : function (string) : string prepped_split : function (string, boolean) : string, string, string join : function (string, string, string) : string prep : function (string, boolean) : string compare : function (string, string) : boolean node : function (string) : string host : function (string) : string resource : function (string) : string escape : function (string) : string unescape : function (string) : string end return lib