Browse code

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>

Mohammad Nasirifar authored on 2018/12/14 10:35:49
Showing 1 changed files
... ...
@@ -163,7 +163,7 @@ On unit tests, it's better to use `TESTFLAGS` in combination with
163 163
 `TESTDIRS` to make it quicker to run a specific test.
164 164
 
165 165
 ```bash
166
-$ TESTDIRS='github.com/docker/docker/opts' TESTFLAGS='-test.run $^TestValidateIPAddress$' make test-unit
166
+$ TESTDIRS='github.com/docker/docker/opts' TESTFLAGS='-test.run ^TestValidateIPAddress$' make test-unit
167 167
 ```
168 168
 
169 169
 ## Run integration tests