update test

This commit is contained in:
shenjack 2024-06-24 09:18:49 +08:00
parent 5e9a79f868
commit 421ac1a566
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -819,10 +819,10 @@ mod test {
fn update_name_test() { fn update_name_test() {
// 先创建一个正常的 namer // 先创建一个正常的 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 mut namer = Namer::new_from_team_namer_unchecked(&team, "x");
let update_name = "k"; let update_name = "一一一丑堀㴁";
namer.replace_name(&team, update_name); namer.replace_name(&team, update_name);
let mut none_update_name = Namer::new_from_team_namer_unchecked(&team, update_name); let mut none_update_name = Namer::new_from_team_namer_unchecked(&team, update_name);