mirror of
https://github.com/0x5eal/wg-lua.git
synced 2024-12-12 04:40:36 +00:00
chore(tests): fix failing generateKeypair test by replacing pattern
This commit is contained in:
parent
f8e995546c
commit
a4291ac2e8
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
local wg = require("../out/").wireguard
|
||||
|
||||
local BASE64_PAT = "^(?:%a%d+/?){4}*(?:%a%d+/?){2}==|(?:%a%d+/?){3}=?$"
|
||||
local BASE64_PAT = "^[%w%+%/=]-=?%w=*$"
|
||||
|
||||
local keypair = wg:generateKeypair()
|
||||
|
||||
|
|
Loading…
Reference in a new issue