test for acquire-wan-address

This commit is contained in:
Daniel Barlow
2023-09-11 00:07:49 +01:00
parent 7683ed69de
commit d49cbbb8ed
2 changed files with 72 additions and 1 deletions

View File

@@ -2,6 +2,9 @@
(collect [k v (pairs table2) &into table1]
k v))
(fn dup [table]
(collect [k v (pairs table)] k v))
(fn split [sep string]
(icollect [v (string.gmatch string (.. "([^" sep "]+)"))]
v))
@@ -56,4 +59,4 @@
(s:sub 1 (- (# s) pad))))
{ : merge : split : file-exists? : system : hash : base64url }
{ : merge : split : file-exists? : system : hash : base64url : dup }