From 4c35fda2319c165f29863194dfb068e2f47b9be9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=A8=E6=A0=BC=E5=B0=94=E7=8E=8B?= Date: Thu, 9 Oct 2025 23:23:24 +0800 Subject: [PATCH] Update ch11-03-test-organization.md --- src/ch11-03-test-organization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch11-03-test-organization.md b/src/ch11-03-test-organization.md index 00ab08d..4ee1729 100644 --- a/src/ch11-03-test-organization.md +++ b/src/ch11-03-test-organization.md @@ -146,7 +146,7 @@ adder Rust 的测试功能提供了一个确保即使你改变了函数的实现方式,也能继续以期望的方式运行的途径。单元测试独立地验证库的不同部分,也能够测试私有函数实现细节。集成测试则检查多个部分是否能结合起来正确地工作,并像其他外部代码那样测试库的公有 API。即使 Rust 的类型系统和所有权规则可以帮助避免某些类型的 bug,不过测试对于减少代码中不符合期望行为的逻辑 bug 仍然是很重要的。 -让我们将本章和其前面各章所学的知识组合起来,在下一章一起编写一个项目! +让我们将本章和前面各章所学的知识组合起来,在下一章一起编写一个项目! [paths]: ch07-03-paths-for-referring-to-an-item-in-the-module-tree.html [separating-modules-into-files]: