Skip to content

Commit

Permalink
Merge pull request #156 from qhwa/master
Browse files Browse the repository at this point in the history
Fix typos in zh_cn
  • Loading branch information
onebree committed Jan 5, 2016
2 parents cfacf7e + 8a64087 commit e436d88
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions content/zh_cn.html
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ <h1><a name="guard">用 Guard 进行自动化测试</a></h1>
</div>

<p>
Guard 虽然好用但是它还是无法满足你搜有的需求。有时候你的 TDD 工作流程需要一些能够测试你想要测试文件的快捷键来让它变得完美。
Guard 虽然好用但是它还是无法满足你所有的需求。有时候你的 TDD 工作流程需要一些能够测试你想要测试文件的快捷键来让它变得完美。
而在你需要 push 代码的时候用 rake task 来跑完整的测试。这里有些
<a href="https://github.com/myronmarston/vim_files/blob/5bd4faad7c020ebcbf62dcbc59985262b4eacb53/vimrc.after#l61-103">给 Vim 用的快捷键配置</a>
</p>
Expand Down Expand Up @@ -848,10 +848,7 @@ <h1><a name="spork">更快的测试(预载 Rails)</a></h1>
</p>

<p>
The drawback of using Spork is that it aggressively monkey-patches your code and you
could lose some hours trying to understand why a file is not reloaded. If you have some
code examples using Spin or any other solution
使用 Sport 的缺点是,它会非常强势的 monkey-patch 你的代码。你可能会在试图搞明白为什么
使用 Spork 的缺点是,它会非常强势地 monkey-patch 你的代码。你可能会在试图搞明白为什么
一个文件没有被重载的过程中浪费数个小时。如果你有使用 Spin 或者其他解决方案的代码例子,
<a href="https://github.com/andreareginato/betterspecs/issues/17">请告诉我</a>
</p>
Expand All @@ -862,7 +859,7 @@ <h1><a name="spork">更快的测试(预载 Rails)</a></h1>
</p>

<p>
虽然 Zeus 被没有采用像 Sport 那样激进的途径,但它主要的一个缺点是比较严格的使用要求:Ruby 1.9.3+
虽然 Zeus 被没有采用像 Spork 那样激进的途径,但它主要的一个缺点是比较严格的使用要求:Ruby 1.9.3+
(建议使用 Ruby 2.0 中的 backported 垃圾回收机制)以及一个支持 FSEvents 或者 inotify 的操作系统。
</p>

Expand Down

0 comments on commit e436d88

Please sign in to comment.