mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update test.md doc to fix sample test regex
Remove the extra dollar sign from the test regex so the command would find the desired test. Signed-off-by: Mohammad Nasirifar <farnasirim@gmail.com>
This commit is contained in:
parent
f711f2bdc3
commit
c46c3c1689
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
`TESTDIRS` to make it quicker to run a specific test.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ TESTDIRS='github.com/docker/docker/opts' TESTFLAGS='-test.run $^TestValidateIPAddress$' make test-unit
|
$ TESTDIRS='github.com/docker/docker/opts' TESTFLAGS='-test.run ^TestValidateIPAddress$' make test-unit
|
||||||
```
|
```
|
||||||
|
|
||||||
## Run integration tests
|
## Run integration tests
|
||||||
|
|
Loading…
Reference in a new issue