From a4291ac2e85c6a2040a5d7473edbe59f8268e8cc Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Wed, 27 Mar 2024 22:36:44 +0530 Subject: [PATCH] chore(tests): fix failing generateKeypair test by replacing pattern --- tests/generateKeypair.luau | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generateKeypair.luau b/tests/generateKeypair.luau index bf7baf1..f0bacc0 100644 --- a/tests/generateKeypair.luau +++ b/tests/generateKeypair.luau @@ -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()