From 240a90833b0b651f665d5b2c55c020910dec7471 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 19 Feb 2024 22:30:12 +0800 Subject: [PATCH] fix test --- scripts/test.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test.lua b/scripts/test.lua index 160c3451d..a3b04ea81 100644 --- a/scripts/test.lua +++ b/scripts/test.lua @@ -199,7 +199,7 @@ function main(...) for _, file in ipairs(files:split('\n'), string.trim) do if file:startswith("packages") then assert(file == file:lower(), "%s must be lower case!", file) - local package = file:match("packages/%w/(%S+)/") + local package = file:match("packages/%w/(%S-)/") table.insert(packages, package) end end