test: 修复 windows 单元测试错误 (#164)

This commit is contained in:
ᴀᴍᴛᴏᴀᴇʀ
2024-08-09 00:02:56 +08:00
committed by GitHub
parent ae05cad22f
commit 66a7b1394e
+1 -1
View File
@@ -651,7 +651,7 @@ mod tests {
); );
assert_eq!( assert_eq!(
template template
.path_safe_render("test_path_windows", &json!({"title": "关注永雏/塔菲喵"})) .path_safe_render("test_path_windows", &json!({"title": "关注/永雏塔菲喵"}))
.unwrap(), .unwrap(),
r"关注_永雏塔菲\\test\\a" r"关注_永雏塔菲\\test\\a"
); );