docs: No present continuous in UT advice doc

Change some headings to avoid using the present continuous tense which
should not be used for headings.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
James O. D. Hunt 2021-11-23 10:21:29 +00:00
parent e8bb6b2666
commit 318b3f187b

View File

@ -257,7 +257,7 @@ mod tests {
``` ```
## User running the test ## Test user
[Unit tests are run *twice*](https://github.com/kata-containers/tests/blob/main/.ci/go-test.sh): [Unit tests are run *twice*](https://github.com/kata-containers/tests/blob/main/.ci/go-test.sh):
@ -273,13 +273,13 @@ Some repositories already provide utility functions to skip a test:
- if running as `root` - if running as `root`
- if not running as `root` - if not running as `root`
### running Golang tests as a different user ### Run Golang tests as a different user
The main repository has the most comprehensive set of skip abilities. See: The main repository has the most comprehensive set of skip abilities. See:
- https://github.com/kata-containers/kata-containers/tree/main/src/runtime/pkg/katatestutils - https://github.com/kata-containers/kata-containers/tree/main/src/runtime/pkg/katatestutils
### running Rust tests as a different user ### Run Rust tests as a different user
One method is to use the `nix` crate along with some custom macros: One method is to use the `nix` crate along with some custom macros: