From 421ac1a56621b55464cd5586b03015b94f84792e Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Mon, 24 Jun 2024 09:18:49 +0800 Subject: [PATCH] update test --- miner/src/name.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miner/src/name.rs b/miner/src/name.rs index 527a784..7a98d09 100644 --- a/miner/src/name.rs +++ b/miner/src/name.rs @@ -819,10 +819,10 @@ mod test { fn update_name_test() { // 先创建一个正常的 namer // 然后更新名字 - let team = TeamNamer::new_unchecked("x"); + let team = TeamNamer::new_unchecked("shenjack"); let mut namer = Namer::new_from_team_namer_unchecked(&team, "x"); - let update_name = "k"; + let update_name = "一一一丑堀㴁"; namer.replace_name(&team, update_name); let mut none_update_name = Namer::new_from_team_namer_unchecked(&team, update_name);