浏览代码

[en] updated some format of code comment (#962)

勾三股四 7 年之前
父节点
当前提交
e22ae2b3ea
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/en/testing.md

+ 2 - 2
docs/en/testing.md

@@ -9,7 +9,7 @@ Mutations are very straightforward to test, because they are just functions that
 ``` js
 const state = { ... }
 
-// export mutations as a named export
+// export `mutations` as a named export
 export const mutations = { ... }
 
 export default new Vuex.Store({
@@ -32,7 +32,7 @@ export const mutations = {
 import { expect } from 'chai'
 import { mutations } from './store'
 
-// destructure assign mutations
+// destructure assign `mutations`
 const { increment } = mutations
 
 describe('mutations', () => {