mirror of
https://github.com/0x5eal/wg-lua.git
synced 2025-03-03 02:23:40 +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 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()
|
local keypair = wg:generateKeypair()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue