From 7e9e92956f9ad296488e72d37fc6f5df418826b4 Mon Sep 17 00:00:00 2001 From: boblunt Date: Sat, 16 Sep 2017 22:41:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E8=AE=A4=E4=B8=BA=E7=BF=BB=E8=AF=91?= =?UTF-8?q?=E6=9C=89=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tester creates a test instance of the class with `new`, 测试程序会`new`出一个测试类的实例, --- aio/content/guide/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/testing.md b/aio/content/guide/testing.md index ff4922b1aa..61a7f71fba 100644 --- a/aio/content/guide/testing.md +++ b/aio/content/guide/testing.md @@ -294,7 +294,7 @@ The tester creates a test instance of the class with `new`, supplying test doubl then probes the test instance API surface. [独立单元测试](guide/testing#isolated-unit-tests "不使用Angular测试工具集的单元测试")用于测试那些完全不依赖Angular或不需要注入值的类实例。 -测试程序是所有`new`创建该类的实例,为构造函数参数提供所需的测试替身,然后测试该实例的API接口。 +测试程序会`new`出一个测试类的实例,为构造函数参数提供所需的测试替身,然后测试该实例的API接口。 *You should write isolated unit tests for pipes and services.*