From a2a0ff34c8f98a5ff3348cb9348732afed8dd3e3 Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Mon, 9 May 2016 19:56:20 +0800 Subject: [PATCH] review --- public/docs/ts/latest/testing/index.jade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/docs/ts/latest/testing/index.jade b/public/docs/ts/latest/testing/index.jade index d2bd66d839..c2a60b8582 100644 --- a/public/docs/ts/latest/testing/index.jade +++ b/public/docs/ts/latest/testing/index.jade @@ -5,14 +5,14 @@ 1. They **guard** against breaking existing code (“regressions”) when we make changes. - 1. 当我们改变代码是,他们**守护**已有代码,以防被破坏。 + 1. 当我们改变代码时,它们**守护**已有代码,以防被破坏。 1. They **clarify** what the code does both when used as intended and when faced with deviant conditions. - 1. 在我们正确使用代码和面对异常情况时,他们**澄清**代码做什么。 + 1. 在我们正确使用代码和面对异常情况时,它们**澄清**代码做什么。 1. They **reveal** mistakes in design and implementation. Tests force us to look at our code from many angles. When a part of our application seems hard to test, we may have discovered a design flaw, something we can cure now rather than later when it becomes expensive to fix. - 1.他们**揭露**我们设计的执行的错误。测试强迫我们从多个角度看代码。当应用程序的一个部分看起来很难测试,我们可能会发现设计缺陷,这是我们可以立刻修复的,而不是等到它变的很难修复的时候。 + 1.它们**揭露**我们设计的执行的错误。测试强迫我们从多个角度看代码。当应用程序的一个部分看起来很难测试,我们可能会发现设计缺陷,这是我们可以立刻修复的,而不是等到它变的很难修复的时候。 .alert.is-important :marked