From 5c2536a3a72918733130e40f13300becc269e5dc Mon Sep 17 00:00:00 2001 From: Havoc412 <2993167370@qq.com> Date: Wed, 13 Nov 2024 13:09:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(test):=20=E4=BF=AE=E6=94=B9=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=95=B0=E6=8D=AE=E4=B8=AD=E7=9A=84=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 "重大" 修改为 "重要",以更准确地对应英文标签 "serious" - 此修改统一了中英文标签的含义,提高了测试数据的一致性和准确性 --- test/models_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/models_test.go b/test/models_test.go index 7ead321..53b1cf0 100644 --- a/test/models_test.go +++ b/test/models_test.go @@ -46,7 +46,7 @@ func TestEncounterLevel_Insert(t *testing.T) { t.Error(err) } - ZH := []string{"日常", "重大", "标志", "代办", "日程"} + ZH := []string{"日常", "重要", "标志", "代办", "日程"} EN := []string{"daily", "serious", "flag", "todo", "schedule"} colorbg := []string{"#F0F0F0", "#FFD700", "#FF69B4", "#87CEFA", "#32CD32"} colorfont := []string{"#333333", "#000000", "#FFFFFF", "#000000", "#FFFFFF"}