From c46c3c1689a667d8f6abd91f947ef4a3975c3dae Mon Sep 17 00:00:00 2001 From: Mohammad Nasirifar Date: Thu, 13 Dec 2018 20:35:49 -0500 Subject: [PATCH] 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 --- docs/contributing/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contributing/test.md b/docs/contributing/test.md index d70dcc5287..ada9aa623b 100644 --- a/docs/contributing/test.md +++ b/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. ```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