1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #38294 from jaswdr/issue-38096

Fix mistake in docs/contributing/test.md running specific unit test #38096
This commit is contained in:
Sebastiaan van Stijn 2018-12-11 12:55:58 +01:00 committed by GitHub
commit 4555ae59e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,7 +148,7 @@ You can use the `TESTDIRS` environment variable to run unit tests for
a single package.
```bash
$ TESTDIRS='opts' make test-unit
$ TESTDIRS='github.com/docker/docker/opts' make test-unit
```
You can also use the `TESTFLAGS` environment variable to run a single test. The
@ -163,7 +163,7 @@ On unit tests, it's better to use `TESTFLAGS` in combination with
`TESTDIRS` to make it quicker to run a specific test.
```bash
$ TESTDIRS='opts' TESTFLAGS='-test.run ^TestValidateIPAddress$' make test-unit
$ TESTDIRS='github.com/docker/docker/opts' TESTFLAGS='-test.run $^TestValidateIPAddress$' make test-unit
```
## Run integration tests