diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-12 00:08:44 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-12 00:08:44 +0300 |
commit | 0e9eea40b62fcae67b2bd885dbedd7525fbca3c7 (patch) | |
tree | 099467fd4c16441f60a879239056b235c7fdabdc /doc/development/go_guide | |
parent | 1ca9950d5f890cd8f185e1eda158b969a7244fe2 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/go_guide')
-rw-r--r-- | doc/development/go_guide/index.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/development/go_guide/index.md b/doc/development/go_guide/index.md index 71c5be7c0cf..1be09bfeddf 100644 --- a/doc/development/go_guide/index.md +++ b/doc/development/go_guide/index.md @@ -188,9 +188,9 @@ code readability and test output. ### Better output in tests When comparing expected and actual values in tests, use -[testify/require.Equal](https://godoc.org/github.com/stretchr/testify/require#Equal), -[testify/require.EqualError](https://godoc.org/github.com/stretchr/testify/require#EqualError), -[testify/require.EqualValues](https://godoc.org/github.com/stretchr/testify/require#EqualValues), +[`testify/require.Equal`](https://godoc.org/github.com/stretchr/testify/require#Equal), +[`testify/require.EqualError`](https://godoc.org/github.com/stretchr/testify/require#EqualError), +[`testify/require.EqualValues`](https://godoc.org/github.com/stretchr/testify/require#EqualValues), and others to improve readability when comparing structs, errors, large portions of text, or JSON documents: |