You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/development.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ You can build your changes with
11
11
Run linters as you make your changes.
12
12
We can recommend using VSCode with the Go addon to have this work automatically.
13
13
14
-
Official lints are ran with:
14
+
Official lints are run with:
15
15
16
16
make check
17
17
@@ -20,11 +20,11 @@ Linter versions are changed with [tools.go](../tools.go).
20
20
21
21
## Testing
22
22
23
-
The full test suite is ran with:
23
+
The full test suite is run with:
24
24
25
25
make test
26
26
27
-
This takes a while to run. The test suite uses a fork of [gocheck](http://labix.org/gocheck). With gocheck, individual tests can be ran with this form:
27
+
This takes a while to run. The test suite uses a fork of [gocheck](http://labix.org/gocheck). With gocheck, individual tests can be run with this form:
28
28
29
29
go test github.com/tikv/pd/server/api -check.f TestJsonRespondError
30
30
@@ -37,4 +37,4 @@ We use [Swagger 2.0](https://swagger.io/specification/v2/) to automatically gene
37
37
## Error responses
38
38
39
39
Error responses from the server are switching to using [errcode codes](https://github.com/pingcap/errcode).
40
-
The should use the `errorResp` function. Please look at other places in the codebase that use `errorResp`.
40
+
They should use the `errorResp` function. Please look at other places in the codebase that use `errorResp`.
0 commit comments