From 1871d0b66553f93e33259d21d95cb7568a9544cf Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Tue, 9 Jun 2026 17:50:31 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E4=BF=AE=E6=AD=A3=E5=B0=8F=E6=95=B0?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=91=BD=E5=90=8D=E4=B8=BA=E5=9B=9B=E6=AE=B5?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E6=8A=9B=E5=87=BA=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/scripts/release.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/release.test.ts b/tests/scripts/release.test.ts index 08e7d67..6d9ae93 100644 --- a/tests/scripts/release.test.ts +++ b/tests/scripts/release.test.ts @@ -48,7 +48,7 @@ describe("parseSemver", () => { it("负数抛出异常", () => { expect(() => parseSemver("-1.2.3")).toThrow("无效的版本号格式"); }); - it("小数抛出异常", () => { + it("四段格式抛出异常", () => { expect(() => parseSemver("1.5.3.2")).toThrow("无效的版本号格式"); }); });