mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 15:02:45 +00:00
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:
parent
e8bb6b2666
commit
318b3f187b
@ -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:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user