Commit afc52737 authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'docs-double-spaces' into 'master'

Fix double spaced sentences in two docs dirs

See merge request gitlab-org/gitlab!24763
parents 7b79ae26 c1d9d574
...@@ -188,9 +188,9 @@ code readability and test output. ...@@ -188,9 +188,9 @@ code readability and test output.
### Better output in tests ### Better output in tests
When comparing expected and actual values in tests, use When comparing expected and actual values in tests, use
[testify/require.Equal](https://godoc.org/github.com/stretchr/testify/require#Equal), [`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.EqualError`](https://godoc.org/github.com/stretchr/testify/require#EqualError),
[testify/require.EqualValues](https://godoc.org/github.com/stretchr/testify/require#EqualValues), [`testify/require.EqualValues`](https://godoc.org/github.com/stretchr/testify/require#EqualValues),
and others to improve readability when comparing structs, errors, and others to improve readability when comparing structs, errors,
large portions of text, or JSON documents: large portions of text, or JSON documents:
......
...@@ -536,7 +536,7 @@ reset before each example, add the `:prometheus` tag to the Rspec test. ...@@ -536,7 +536,7 @@ reset before each example, add the `:prometheus` tag to the Rspec test.
### Matchers ### Matchers
Custom matchers should be created to clarify the intent and/or hide the Custom matchers should be created to clarify the intent and/or hide the
complexity of RSpec expectations.They should be placed under complexity of RSpec expectations. They should be placed under
`spec/support/matchers/`. Matchers can be placed in subfolder if they apply to `spec/support/matchers/`. Matchers can be placed in subfolder if they apply to
a certain type of specs only (e.g. features, requests etc.) but shouldn't be if a certain type of specs only (e.g. features, requests etc.) but shouldn't be if
they apply to multiple type of specs. they apply to multiple type of specs.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment