فهرست منبع

Merge pull request #38371 from farnasirim/doc-test-fix-regex

Update test.md doc to fix sample test regex
Yong Tang 6 سال پیش
والد
کامیت
efba5f8565
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      docs/contributing/test.md

+ 1 - 1
docs/contributing/test.md

@@ -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